Jump to content
dil_bert

server-setup for subdomain - howto

Recommended Posts

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  !?

Share this post


Link to post
Share on other sites
7 hours ago, dil_bert said:

can i do the following in a internal net  vHosts with vhost

I don't know. Can you?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.