Redirect URL to port
Posted: Sun Aug 03, 2014 9:34 pm
Hi experts,
I'm triing to make an access to my ADM without the port in the URL (http://mynas.myasustor.com instead of http://mynas.myasustor.com:XXX)
To do that I've try to modify the file httpd.conf (in /volume0/usr/builtin/etc/apache2).
I added this :
where XXX is the ADM port.
But it doesn't work and worse it crashes all webservices (photo-gallery, plex, owncloud ...)
Does somebody have the tips ?
edit : I didn't precise but if I redirect 80 to XXX (from the router), I can log to ADM without specifying the port but webservices are then unaccessible
I'm triing to make an access to my ADM without the port in the URL (http://mynas.myasustor.com instead of http://mynas.myasustor.com:XXX)
To do that I've try to modify the file httpd.conf (in /volume0/usr/builtin/etc/apache2).
I added this :
Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName mynas.myasustor.com
ProxyPass / http://localhost:XXX/
ProxyPassReverse / http://localhost:XXX/
</VirtualHost>
But it doesn't work and worse it crashes all webservices (photo-gallery, plex, owncloud ...)
Does somebody have the tips ?
edit : I didn't precise but if I redirect 80 to XXX (from the router), I can log to ADM without specifying the port but webservices are then unaccessible