Question

Subdomain Pointing To Different Droplet, but Accessing Main Droplet

Hi all,

I have two server’s setup. One is running my main website example.com & another is running a subdomain librenms.example.com. When I go to librenms.example.com after running through the http://docs.librenms.org/Installation/Installation-Ubuntu-1604-Apache/ librenms tutorial, it maps to the example.com /var/www/html folder, rather than my /var/www/librenms folder on my other droplet.

I have added the subdomain to an A record pointing to the other droplet’s ip address. Where all other A and AAAA records point to the droplet running the main site example.com. All of my other subdomains work great, they are also on the same droplet though. I have a2dissite 'd the 000-default on both servers.

Thanks


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

It sounds like a DNS problem (Propagation may be?). Can help you without looking at your DNS settings.