How to modify vhosts in ServerPilot for multiple domains?
I’ve been using ServerPilot for the past day or so alongside my DigitalOcean droplet. It was all working fine until I added multiple “apps” to ServerPilot; I have pointed the A Records of the domain to my droplet IP, referenced the A Records in my DigitalOcean Dashboard under “DNS”, but to no avail. I then went and checked my droplets hostname and it loaded a different app for a completley different domain (one of the domains I added).
I spoke with support, and they said that the A Records have been setup correctly, I would just have to modify the vhosts file within ServerPilot to make the right “Apps” load on the right Domain.
I love the service I get from DigitalOcean & ServerPilot. They’ve worked together like a dream since I started using them; I just need to overcome this issue and then everything will be running 100%.
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.