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

Adding a subdomain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
YellowJuice
Posts: 7
Joined: Tue Jul 18, 2017 1:39 am
Contact:
Contact YellowJuice
Website

Os: Debian 7x
Web: apache + nginx
Adding a subdomain
  • Quote

Post by YellowJuice » Fri Sep 29, 2017 3:13 am

Hello,

I added a domain and it works fine, then I added a subdomain as a new web domain and I added two A records to the domain "subdomain.domain.com A IP" and "www.subdomain.domain.com A IP" and it works fine.

Now the problem is that I added another domain with another subdomain and for this one the subdomain just doesn't work. I added the exactly same A records, so I'm confused why it doesn't work. The subdomain is just not found in the browser, error not resolved in google chrome.

I'm working on an ovh vps and I use secondary dns that they offer if it matters in any way.

I'd really appreciate any help.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Adding a subdomain
  • Quote

Post by skurudo » Fri Sep 29, 2017 5:41 am

Check your DNS records with host command or service like http://ping.eu/nslookup/
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Adding a subdomain
  • Quote

Post by mehargags » Fri Sep 29, 2017 7:05 am

and... you would usually use www. to be a cname of @ (your domain) and not a separate A record, otherwise search engines may treat them as separate websites and you can be penalized for duplicate content
Top


Post Reply
  • Print view

3 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