T
T
TommyDBrown2018-05-07 13:20:05
Nginx
TommyDBrown, 2018-05-07 13:20:05

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 answer(s)
R
Ruslan Fedoseev, 2018-05-07
@martin74ua

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 question

Ask a Question

731 491 924 answers to any question