Creating subdomain with Vesta CP and DigitalOcean
26,860
You can create a subdomain in vesta cp with the following steps :
- Create DNS Record for your domain (maisrp.com.br) on vestacp menu, the type of record is CNAME that pointed to your droplet IP address. Enter subdomain that you want to add on record section (i.e mysubdomain)
- Add a new domain through Vesta Cp with full address (i.e mysubdomain.maisrp.com.br)
I have tried this, and work
Comments
-
Thyoity almost 2 years
I'm trying to configure but everytime I access domain.mysite.com.br keeps showing me the not found error. www.mysite.com.br is redirecting me correct. Only the subdomain is not.
This is my vesta configurations:
Digital ocean DNS configuration
My ftp is showing the new subdomain folder correctly
Am I configuring Digital Ocean DNS wrong? OBS: My server IP is not 111.111.1.111, I edited in Photoshop for security.
Sorry, my English is not good.
-
Pawel over 9 yearsBecause you need to add A record which point on
www.subdomain.mysite.com.br
to the same IP address which is used in A record point onsubdomain.mysite.com.br
. -
Lucas Bustamante about 5 yearsThis is beyond science.