I need to redirect a domain that I'm not handling the DNS for to point to a new ip. I'd like for users to see only the original domain that they type in.
mydomain.com currently points to 111.111.11.11
I'd like 111.111.11.11 to point to 222.222.22.22
I'd like users to see only mydomain.com in their browser
is this possible? if so, what's the easiest/best way to do it?
.htaccess can of course do the redirect easily (that's how I have it setup now) but with .htaccess users see http://222.222.22.22/~sitename in their browser window, which is far from ideal.
thanks!
edit: nevermind, figured it out with modRewrite