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)

Junior Member

10+ Year Member

joined:Dec 17, 2003
posts: 115
votes: 0

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 June 18, 2010 (gmt 0)

Senior Member from KZ 

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

joined:Jan 10, 2005
votes: 24

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?