I had two domains pointing to my droplet.
Both were set up under the DNS tab and both pointed to the IP associated with my droplet.
On site worked the other resolved to some Bluehost landing page that had nothing to do with my site.
I then switched the IP on one of the sites under the DNS tab. After a little bit both sites worked but I figured switching the domain was a bad idea and would likely lead to SSH issues. I was right.
So after some reading I concluded that it was not necessary to have switched the IP so I switched it back.
No the site that was originally not working works but the other site (the one whose IP I switched, then switched back) points to someones site in Chile…not my site.
Am I missing something or just impatient?
I have double checked the Apache ‘.conf’ files associated with each site. They both point to the proper directory. I have reloaded the server and restarted NSCD. I ran a2ensite on both.
[side note but related]: Where should I be SSHing to? root@DropletIP? user@domain1.com? user@domain2.com? Does it vary based on what I’m trying to do?
I’m thinking about starting over since I learn more every time I do. But eventually I need to achieve a working stable environment.
Thanks in advance for any help.
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!
DNS changes can take some time to propagate. A ping or dig on the domain in question should give you some indication of where the problem is. You can SSH to the IP address or to any domain associated with that IP address.
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.