Answer the question
In order to leave comments, you need to log in
How to redirect a domain to a local port?
Several php-based sites are installed on one server, in this case the server runs as a background process and has port 8080, for example, you need to display the page without adding a port to the domain (80 should be). How I see it(domen"site.com" -> 46.254.254.254:80/homesite/ -> 192.168.1.100:8080) How to implement it? And the use of port 80 blocks Apache, without it other sites will not work.
Answer the question
In order to leave comments, you need to log in
Remove Apache from external port 80, put nginx in proxy mode for all sites.
UPD: Apache can also work in reverse proxy mode, probably you just need it www.egoroff.spb.ru/portfolio/mod_proxy.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question