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 General Discussion
  • Search

Pointing a sub-domain to the same server always loads the root domain

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
BlueTurtle
Posts: 11
Joined: Sun Dec 03, 2017 6:47 pm

Pointing a sub-domain to the same server always loads the root domain
  • Quote

Post by BlueTurtle » Wed Jan 24, 2018 2:46 pm

I've set domain.com to point to the IP of the VPS. (in cloudflare with A record to the IP) and that is fine

However, i've set subdomain.domain.com to point to the same IP and then created new site in vesta, subdomain.domain.com

However, subdomain.domain.com doesn't load the new site but domain.com

Is that the expected behaviour?
How to make it resolve to the new site under subdomain.domain.com?
Top

vikhyat
Posts: 91
Joined: Wed Sep 14, 2016 5:39 pm

Re: Pointing a sub-domain to the same server always loads the root domain
  • Quote

Post by vikhyat » Wed Jan 24, 2018 5:17 pm

Have you forced https on the website?
Top

vikhyat
Posts: 91
Joined: Wed Sep 14, 2016 5:39 pm

Re: Pointing a sub-domain to the same server always loads the root domain
  • Quote

Post by vikhyat » Wed Jan 24, 2018 5:19 pm

Try activating Let's encrypt on the domain. And also create two A records - one with sub.domain.tld with the IP of the server and another www.sub.domain.tld also with the IP of the server
Top

BlueTurtle
Posts: 11
Joined: Sun Dec 03, 2017 6:47 pm

Re: Pointing a sub-domain to the same server always loads the root domain
  • Quote

Post by BlueTurtle » Wed Jan 24, 2018 6:49 pm

i tried lets encrypt but it didnt give me certificate, got some error

i encrypted with the self signed certificates vesta generates
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • 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