Answer the question
In order to leave comments, you need to log in
Filtering Apache virtual hosts (sites) on the same IP?
Welcome all. The problem is that I need to display different virtual hosts (read "Sites") on different domains that are hosted on one dedicated IP.
More:
There is IP 127.0.0.1 on which there is an Apache serving 3 Wirth. host (host1.dev, host2.dev, test2.dev), there is an example.ru domain, which has three subdomains (host1.example.ru, host2.example.ru, host3.example.ru), respectively, they all resolve to IP 127.0.0.1.
It is necessary that when you enter the site host1.example.ru, Apache sees the host and loads the appropriate Wirth on it. host (more precisely, a folder with site files). How to implement this?
Answer the question
In order to leave comments, you need to log in
Implement? Very simple. Read the Apache documentation. If it doesn't help, read it again. If it doesn't help now, hire an administrator.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question