Page 1 of 1

Strange web server problem about sub domain

Posted: Tue Jan 26, 2016 2:30 pm
by taliptako
Hello,
I'm using nginx lastest mainline version and php7 with Centos 7.2 and i have problem with subdomains.
http://teknomaden.com
This is one of my web site and when i enter asdasdopgjas.teknomaden.com like this sub domain its working and showing the my main website on vestacp.Enter any subdoamin to my teknomaden.com web site and see the results and look at the Home url because its showing detayhosting.com because its my main website on vestacp.
How can i fix that
Thanks..

Re: Strange web server problem about sub domain

Posted: Tue Jan 26, 2016 4:29 pm
by tjebbeke
When te website can't be found on the server, your default website will be loaded.

Re: Strange web server problem about sub domain

Posted: Wed Jan 27, 2016 9:58 am
by taliptako
Why its wrong someone can link my subdomain and google can index my 404 pages..

Re: Strange web server problem about sub domain

Posted: Wed Jan 27, 2016 10:08 am
by tjebbeke
Don't create a DNS subdomain or create a web domain in your vestaCP for that subdomain.

Re: Strange web server problem about sub domain

Posted: Wed Jan 27, 2016 10:13 am
by taliptako
Where i will delete dns records from digitalocean or vestacp ?