ns1,ns2 pointed ro mysite.com

weber2

New member
Joined
Apr 17, 2010
Messages
3
Greetings ,

I use Apache , and Nginx as Proxy.

But The problem is:

ns1,n2.site.com pointed to one of our websites !
which i don't like such things.

there is no "Apache is functioning normally " as always !
when i go to ns1.mysite.com , i will see full view of mysite.com .

Also mysite.com is on a dedicated IP.

Even when i view "Server IP" it will show me mysite.com content !

ips.conf and nginx.conf content :

# Auto generated apache config file by DirectAdmin version 1.43.3
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.

LogFormat "%O \"%r\"" homedir
NameVirtualHost ip:8888
NameVirtualHost ip:443
NameVirtualHost ip:8888
NameVirtualHost ip:443

(which "ip" is our ip number)

Thank you.
 
that mean your virtualhost not config good, check all your users and apache VH
 
there is no "Apache is functioning normally " as always !
when i go to ns1.mysite.com , i will see full view of mysite.com .

You seem to be a double poster? To avoid it, consider to add a default virtual host into NGINX (some kind of stub) with root pointing to /var/www/html.

Or check hostname in .htaccess with mod rewrite.
 
Back
Top