Strange web server problem about sub domain
Strange web server problem about sub domain
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..
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..
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Strange web server problem about sub domain
When te website can't be found on the server, your default website will be loaded.
Re: Strange web server problem about sub domain
Why its wrong someone can link my subdomain and google can index my 404 pages..
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Strange web server problem about sub domain
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
Where i will delete dns records from digitalocean or vestacp ?