View Full Version : Prevent URL from switching from domain name to IP

06 Feb 2010, 03:11 PM
My site is hosted on my own machine, but I have a domain name directed at my IP. When a user enters my domain, and goes to my site, the URL switches to my IP and stays. How do I prevent this? Is there some code that would help the problem? Thanks for any help.