I have installed ubuntu 16.04 and after that i have used serverpilot ( manually install via terminal) to install wordpress. Thats all what i did. Problem is that the IP is not redirecting to domain. It is opening up the website. If anyone is entering my ip it is taking to the website. How can i force redirect ip to domain ? Moreover, i am planning to add more domains in my droplet. Which domain will come up if ip is entered. Need a fix for that as well. I shall be very grateful if you help me with this. Serverpilot installed nginx, apache, mysql and php.
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 $200 of credit to try our products over 60 days!