Current dns setup is 3 A records; @ pointing to ip sub1 pointing to ip sub2 pointing to ip
Added a cname record of www with a value of @
Its been a couple hours but they www.subdomains arent working. Interestingly enough, the root domain is forwarding to www.www.domain.com
The server blocks conf under sites-available have <pre> server_name subdomain.domain.com www.subdomain.domain.com </pre>
And for the root domain same w/out the subdomain.
All also have another server_name underneath the above snippet: <pre>
server_name 107.170.227.22; </pre>
Root contains only an index.html, sub1 is magento, and sub2 is wordpress.
Sub1 ( magento ), contains some custom configurations recommended by magento.
Sidenote: Is there a way to get notified when someone responds to your question or to an article youve participated in?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Ah, so i guess you need to setup a cname record for each subdomain you want to redirect from www. <br> <br><pre> <br>e.g. www.subdomain1.com <br>cname: www.subdomain1 point to subdomain1.com <br></pre>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.