Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Strange web server problem about sub domain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
taliptako
Posts: 13
Joined: Sun Dec 13, 2015 10:32 am

Strange web server problem about sub domain
  • Quote

Post by taliptako » Tue Jan 26, 2016 2:30 pm

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..
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Strange web server problem about sub domain
  • Quote

Post by tjebbeke » Tue Jan 26, 2016 4:29 pm

When te website can't be found on the server, your default website will be loaded.
Top

taliptako
Posts: 13
Joined: Sun Dec 13, 2015 10:32 am

Re: Strange web server problem about sub domain
  • Quote

Post by taliptako » Wed Jan 27, 2016 9:58 am

Why its wrong someone can link my subdomain and google can index my 404 pages..
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Strange web server problem about sub domain
  • Quote

Post by tjebbeke » Wed Jan 27, 2016 10:08 am

Don't create a DNS subdomain or create a web domain in your vestaCP for that subdomain.
Top

taliptako
Posts: 13
Joined: Sun Dec 13, 2015 10:32 am

Re: Strange web server problem about sub domain
  • Quote

Post by taliptako » Wed Jan 27, 2016 10:13 am

Where i will delete dns records from digitalocean or vestacp ?
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password