Question
Server block Subdomain w/ www
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
server_name subdomain.domain.com www.subdomain.domain.comAnd for the root domain same w/out the subdomain. All also have another server_name underneath the above snippet:
# Make site accessible from http://localhost/ server_name 107.170.227.22;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?
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×