Question
Remove browser access to my droplet via IP address
I got a secure SSL domain name now and I would like to disable access to my server via the ip address via a browser.
http://xxx.xx.xxx.xxx/
Especially in order to remove access to phpmyadmin without SSL.
http://xxx.xx.xxx.xxx/phpmyadmin/
How can I do that ?
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.
×