The way of terminal command's to use the NGINX webserver instead of APACHE2. sudo apt-get remove apache2 sudo service apache2 stop sudo service nginx status (read carefully your status, when pc is restarted it can give you a good error line when trying several times) sudo service nginx restart sudo systemctl restart nginx To see your page in browser : 1. localhost 2. or in terminal : ip addr show : 127.0.0.1 3. or your website name, located in the file etc/hosts 127.0.0.1 localhost 127.0.0.106 mydebiandomain.tk www.mydebiandomain.tk # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 4. or in the etc/nginx/sites-available/default server { listen 80; listen [::]:80; server_name mydebiandomain.tk www.mydebiandomain.tk; root /var/www/html; index index.html; location / { try_files $uri $uri/ =404; } } 5. Directory structure var/www/html/index.html (no additional files left) The file index.html contains : Welcome to mydebiandomain

Welcome to mydebiandomain.tk !!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.

This was not easy ....