By im187
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!
The first vhost is used for the IP, you can create a redirect there and create other vhosts for all the domains.
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.