I am struggling to add subdomain for my site
I’ve setup DNS in DigitalOcean control panel for new subdomain and also configured httpd. I followed this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6
But after restarting apache, my main site is pointing to subdomain’s directory.
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.×