Answer the question
In order to leave comments, you need to log in
How to set up a virtual host on a server?
Hello everyone, I'm setting up a virtual host on the server, but why at the end of all the settings, when starting the site domain, I get the default directory loading.
I first write the settings in Apache in the /etc/httpd/vhost_config directory.
Then I write in Nginx /etc/nginx/vhost_config
. in theory, after restarting nginx and apache, everything should work, but in fact it does not work out that way. What could be the problem?
Answer the question
In order to leave comments, you need to log in
1. Install some panel on your server. The same news. Let her configure the site for you.
2. Hire an admin
3. Understand the documentation.
Here are three options for you to choose from. Nothing more can be said from the information you provided.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question