n01
n01

Reputation: 135

Virtual Hosts redirecting to ip address

I have multiple domain in one ip address.One is Magento and another is normal html site.I set up virtual hosts in Nginx configuration but then only when I access to my Magento site (xxx.com) it automatically redirects to ip address.

How can I stop showing my ip address and keep my domain in the browser?

Upvotes: 1

Views: 198

Answers (1)

Den Ivanov
Den Ivanov

Reputation: 18

Your config is OK. Redirect probably comes from Magento engine.

Upvotes: 1

Related Questions