How to set up a virtual host in apache?



How to set up a virtual host in apache?..

Answer / Anuradha

To set up a virtual host in Apache, you'll need to create a new configuration file for the virtual host and place it in the appropriate directory (e.g., /etc/apache2/sites-available/). Once created, enable the site using a2ensite, and restart the server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Interview Questions

How secure is apache server linux?

1 Answers  


How does apache server work?

1 Answers  


How does apache work?

1 Answers  


What is an apache logs?

1 Answers  


How to check the version of running apache web server?

1 Answers  


What is use of nonroot user in httpd.conf file on apache?

1 Answers  


What’s the major difference between a restart and a graceful restart of a web server such as apache?

1 Answers  


What’s the mod_perl module?

1 Answers  


How do I stop apache from running?

1 Answers  


What is apache configuration?

1 Answers  


Is apache a httpd?

1 Answers  


How to put log level in debug mode?

1 Answers  


Categories