Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Domain switches to IP



9:02 pm on Jun 15, 2010 (gmt 0)

10+ Year Member

My domain changes from the domain to the IP once a visitor arrives at the website.

For example.
Typing the following into the browser: http://example.com

Results in: http://example.com

However, typing the following into the browser: http://www.example.com
Results in: http://#*$!.xx.xx.xx
(where #*$! represent the numbers of the IP)

Can anyone tell me why this is happening?

Thanks in advance.

[edited by: bill at 8:24 am (utc) on Jun 18, 2010]
[edit reason] Use example.com for examples [/edit]


1:47 pm on Jun 18, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

If the domain name in the address bar switches to the IP address, there is probably some redirect code which tells the browser to do so. I would expect a wrongly configured 301 redirect to be causing this. Does this site use 301 redirects?

Featured Threads

Hot Threads This Week

Hot Threads This Month