ProxyPass (reverse proxy) в Apache и Nginx
Apache:
<VirtualHost *:80> ServerName "mightytreemovers.com" ProxyPass / http://172.17.254.2/ ProxyPassReverse / http://172.17.254.2/ </VirtualHost>
Nginx:
server { listen 80; server_name mightytreemovers.com; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; location / { proxy_pass http://172.17.254.2/; } }
ENJOY