First time here? Check out the FAQ!

Setting up a Virtual Host on Apache server.

0 votes
asked by about Apache HTTP Server
edited by

I can't seem to get my Virtual Host to work on my Apache Server. The Apache Server itself works good. But it won't display other directories as a Virtual Host. Can you give me any assistance?

1 Answer

0 votes
answered by (80k points)

There are two Virtual Hosts that can be configured on an Apache Server. You can configure an IP-Based Virtual Host or a Name-based Virtual Host. Depending on the option that you chose, the configuration process is different. I suggest that you check the official website of Apache, where you have access to all the documentation that is available about this subject.

To debug the virtual configuration on your Apache Server, you can use the following command : /usr/local/apache2/bin/httpd -S

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register