Enable Disable sites in Apache web server
1. Create separate Virtual Host configuration files for each host if there are multiple sites within same apache server 3. Use below commands to enable and disable sites a2ensite // enable the site a2dissite // disable the site Where ' ' is the name of your site's Virtual Host configuration file, located in '/etc/apache2/sites-available/', minus the '.conf' extension. 4. Restart Apache after running those commands sudo systemctl restart apache2 or sudo service apache2 restart