Posts

Showing posts with the label How To Install the Apache Web Server on Ubuntu Server
 How To Install the Apache Web Server on Ubuntu Server 20.10 :- How To Install the Apache Web Server on Ubuntu Server 20.10 :- sudo apt update sudo apt install apache2 sudo ufw allow 'Apache' (Adjusting the Firewall) sudo systemctl status apache2 http://your_server_ip Setting Up Virtual Hosts (Recommended) Create the directory for aryanchoudhary: sudo mkdir /var/www/aryanchoudhary Assign ownership of the directory: sudo chown -R $USER:$USER /var/www/aryanchoudhary   The permissions of your web roots should be correct if you haven’t modified your unmask value, but you can make sure by typing: sudo chmod -R 755 /var/www/aryanchoudhary   Create a sample index.html page using nano or your favorite editor: nano /var/www/aryanchoudhary/index.html   Inside, add the following sample HTML: <html>     <head>         <title>Welcome to aryanchoudhary!</title>     </head>     <body>   ...