apache2 disable site

# enable site
sudo a2ensite
 
# disable site
sudo a2dissite
 
# enable an apache2 module
sudo a2enmod
 
# e.g. a2enmod php4 will create the correct symlinks in mods-enabled to allow the module to be used. In this example it will link both php4.conf and php4.load for the user
 
# disable an apache2 module
sudo a2dismod
 
# force reload the server:
sudo  /etc/init.d/apache2 force-reload

4
4
Teej 95 points

                                    a2ensite /etc/apache2/sites-available/new-domain.conf
//-----------------
a2dissite /etc/apache2/sites-available/new-domain.conf

4 (4 Votes)
0
3.5
4

                                    a2ensite /etc/apache2/sites-available/new-domain.conf

//-----------------

a2dissite /etc/apache2/sites-available/new-domain.conf

3.5 (4 Votes)
0
3.88
8
DKT 95 points

                                    a2ensite /etc/apache2/sites-available/new-domain.conf
//-----------------
a2dissite /etc/apache2/sites-available/new-domain.conf

3.88 (8 Votes)
0
0
5

                                    a2ensite /etc/apache2/sites-available/new-domain.conf

//-----------------

a2dissite /etc/apache2/sites-available/new-domain.conf

0
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
how to disable site in apache2 disable apache site site disable apache 2 apache2 default page disable disable all sites apache2 apache disable it works page apache2 disable default site disable a site in apache2 disable sites apache2 apache 2 disable default site disable a site apache2 apache disable site apache 2 site DISABLE apache2 disable all site a2ensite default disable apache2 default page script disable apache websites disable apache2 disable apache disable default site apache2 apache disable sites apache 2 disable site disable site index apache2 a2ensite apache disable host .conf apache apache site remove apache website disabled apache2 enable site a2ensite apache deactivate site site enable apache apache delete site apache ensite apache2 remove site.conf remove site apache 2 apache disable enable apache2 site linux apache disable site site available to enable apache apache2 enable a site apache sites enabled linux apache2 enable site apache2 disable specific en2site apache apache enable site command ensite apache2 enabled available apache2 sudo a2ensite and disable how to disable site apache2 apache endable sites apache2 disable site a2ensite apahce disable site enable apache2 enable apache website apache2 debian disable site apache2 disable site sudo a2ensite in sited avaialble apache enable a site ensite apache enable site conf apache apache enable sites sudo a2ensite disabling site apache2 disable a site stop site apache2 site available apache en site enalbe disable virtual host sudo service a2ensite gdf httpd disable website apache disable website point apache2 enable a site apache2 aensite apache site enable apache2 enable site apache how to disable site temporarily dissite apache apache remove sites apache remove sites available how to disable a site on apache 2 sudo a2ensite .conf sudo ensite deactivate website apache2 apache Site already enabled sudo a2ensite example.com.conf disable sudo a2ensite oruicheiramal.com.conf disable enable site apache sudo enable website a2ensite example.com.conf a2ensite example disable website apache2 enable apache site enable site apache2 apache check ucrent a2ensite disable conf file apache disable site apache2 sudo a2ensite command apache enable site a2ensite example.
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source