We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Domain redirect to ip: port
Domain redirect to ip: port
Hi,
I have a question:
I have a domain test123.com and i want it to redirect to another port on the same server (different script giving output to server:3001) , anyone any ideas??
thanks in advance!
I have a question:
I have a domain test123.com and i want it to redirect to another port on the same server (different script giving output to server:3001) , anyone any ideas??
thanks in advance!
Re: Domain redirect to ip: port
Try using mod_proxy -
Code: Select all
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName dev.mydomain.com
ProxyPreserveHost On
# setup the proxy
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://localhost:8888/
ProxyPassReverse / http://localhost:8888/
</VirtualHost>