cancel
Showing results for 
Search instead for 
Did you mean: 

How the specified IP address redirects to web server page? it is still redirecting to actual site.

How the specified IP address redirects to web server page? it is still redirecting to actual site.

Hello to the Magento Forum!

We have pointed www.supersup.com to 66.40.46.225 but when I am accessing the http://66.40.46.225 then it is still redirected to actual site(i.e. www.supersup.com) and not redirected to web server page. Can someone help me with this? Please!!

Thanks!

 

1 REPLY

Re: How the specified IP address redirects to web server? it is still redirecting to actual site.

I'm presuming that both the IP address and www.supersup.com are on the same server?  If so, it looks like Apache only knows one document root which is the www.supersup.com .  When you access the IP address direct, Magento then gets the base URL from it's config and redirects over to www.supersup.com.

 

If you want a different site to appear on 66.40.46.225 then you will need to set up a vhost for it so Apache knowws how to route it.

Richard Cleverley
Magepim Ecommerce Services