Forum Moderators: phranque

Message Too Old, No Replies

Change URL displayed

         

JJules

2:21 pm on Mar 5, 2012 (gmt 0)

10+ Year Member



Hi everybody,
I'm quite new to Apache administration and my question might sound silly.

We have a Windows server running Apache 2.21 and we want it to respond to queries from [intranet.domain.local....] We created a new internal DNS record for this server but still we get [IPAddress...] in the browser's address bar. We would like Apache to change the URL displayed to [intranet.domain.local....]

Thanks in advance!

g1smd

2:46 pm on Mar 5, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



URLs are defined in links. You therefore change a URL by changing the details in the link.

For the benefit of searchengines that list the old URL, websites that list the old URL or people who have the old URL in their stored bookmarks (or in this case, only internal links and bookmarks), you also install a redirect to direct requests for the old URL to the new one.

JJules

3:59 pm on Mar 5, 2012 (gmt 0)

10+ Year Member



Probably you didn't get my point. When users enter [intranet.domain.local...] in their browser, they get [ipaddress...] as a result. I don't what this to happen. I'd like Apache not to show the redirection and the original URL must remain in the address bar. Maybe this is called host header in Microsoft IIS, I don't know how Apache handles it. Thanks!