dil_bert Posted November 21, 2019 Share Posted November 21, 2019 hi there currently planing the creation of a subomain on apache can i do the following in a internal net vHosts with vhost with the apache module "mod_proxy" Code: NameVirtualHost *:80 <VirtualHost *:80> ServerName server01.network DocumentRoot /home/webmaster/htdocs </VirtualHost> <VirtualHost *:80> ServerName subdom.server01.network ProxyPass / http://127.0.0.1:10000/ ProxyPassReverse / http://127.0.0.1:10000/ </VirtualHost> LoadModule proxy_module /usr/lib/apache2-prefork/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2-prefork/mod_proxy_http.so whilst sudbomain is running on Port 10000 ,,,, any ideas !? Quote Link to comment https://forums.phpfreaks.com/topic/309564-server-setup-for-subdomain-howto/ Share on other sites More sharing options...
requinix Posted November 22, 2019 Share Posted November 22, 2019 7 hours ago, dil_bert said: can i do the following in a internal net vHosts with vhost I don't know. Can you? Quote Link to comment https://forums.phpfreaks.com/topic/309564-server-setup-for-subdomain-howto/#findComment-1571799 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.