After completing your server installation, it is possible that your domain will not be accessible through the local network. This is an issue known as hairpinning - a feature that is not well supported by some internet routers.
To solve this issue you can:
First you need to find out the local IP of your server
The goal here is to create a network wide redirection handled by your router. The idea is to create a DNS redirection to your server's IP. You should access your router's configuration and look for DNS configuration, then add a redirection to your server's IP (e.g. redirect
If you haven't found your server private IP, you may find it using the SFR box admin panel:
Go to Network tab > General
Go to Network tab > DNS and add your domain name to the box's DNS.
Modifying hosts file should be done only if you cannot alter your box's DNS or router, because hosts file will only impact the workstation where the file was modified.
You MUST activate hidden and system file display to see the hosts file.
You MUST have root privileges to modify the file.
Add a line at the end of the file containing your server private IP followed by a space and your domain name
Hai trovato degli errori? Pensi di poter migliorare questa documentazione? Simply click the Edit link at the top of the page, and then the icon on Github to suggest changes.