I’ve followed countless questions and tutorials on DigitalOcean and other sites on creating a vhost file. I’ve done it, and I can get my site, http://nder.rocks to display a page. However, http://Alexa.nder.rocks does not. I copied the Vhost file from nder.rocks and changed it for Alexa.nder.rocks. Yet Alexa.nder.rocks doesn’t show.
I even went and disabled nder.rocks’s vhost and now Alexa.nder.rocks website is showing up when I visit nder.rocks. So, I know the vhost file works. I know there are zero issues in permissions. So what gives?
I’ve got the subdomain as an AName in DO’s preferences. Pointing to the same droplet (I only have the one droplet). It’s been two days so TTL should have updated. Right? What am I missing?
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!
Hello friend!
This is usually something very minor and easy to overlook. It looks like you are using Apache, so with that in mind, what values do you have for these variables in each virtual host?
ServerName ServerAlias
Make sure you don’t have a wildcard (like *.nder.rocks) on one of them.
Kind Regards, Jarland
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.