I have a Web Applcation which contains a Publishing Site with Variations feature enabled. The following is and example URL for the site http://test-server.com/en
However when I type a wrong URL, an error occurs it takes me to Page Not Found error page but the URL changes to the following:
http://windows-pc:29420/pages/PageNotFoundError.aspx?requestUrl=http://localhost:29420/en/whatsfa"
I want the URL to point to the following domain name URL:
http://test-server.com/en
and not to local URL like:
http://windows-pc:29420/pages/PageNotFoundError.aspx
How can I fix this problem?