Hello, I would like to disable the access to my web server when have returned the ip in the browser, i just want to enable acces to this by domain name!
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.
Yeah, i want to show when we just check http://xxx.xxx.xxx.xxx/ (ip) an error page or other else
Yeah, i want to show when we just check http://xxx.xxx.xxx.xxx/ (ip) an error page or other else
Traffic pointed to your IP address will always come to your droplet. It is then up to you to decide what to do with it. Do you want to redirect it to your domain name or do you want to display a page not found or other message?