Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to work with multiple domains on the server of a droplet?
I have a droplet configured for one domain. I can access via ssh to the server and I have two domains configured there. Both domain names are on GoDaddy and are pointing to the Droplet IP.
What happens here is that the second domain I had configured is redirecting to the first domain that was set previously. I already modify and add another VirtualHost and also tried to reload and restart apache but it does not seem to work, however, the site never stops working even with apache shut down.
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.×