I have been looking through the many articles already posted on this and I still can’t quite understand it. I’ve setup things like MariaDB and another service and they both have pasted links that are weirdly typed and later I found out they used the hostname I have setup for my droplet which is (mydomain)Main. That’s how it’s setup.
So like when I connect remotely to MariaDB it will say weird things like http://(thathostname):3306 and I just went in manually to enter the IP address into BeaverDB. As well as the web service I have setup to help with monitoring and logging, it told me to connect to (hostname):(port) but they are not my domain and if I typed that in, it would of course give me an error because it’s not a TLD.
So what exactly should I use as my hostname? It’s a single domain droplet/site and no plans to ever have another domain lol.
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!
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!