Jump to content

Recommended Posts

Posted

Hi

 

I'm quite new to this area so thanks for your support.

 

I know I can have multiple websites with different domains hosting in the same server. (which I have working)

 

My situation is a little different now. Not sure if this is possible.

 

My friend created a hyper-v for me pointing to a public IP

 

I loaded Xampp and began to host web sites.

httpd.config

Listen [::]:80

ServerName localhost:80

DocumentRoot "C:/xampp/htdocs"

10.0.2.220

(This server is up and working)

 

I have now created a Centos5 ISPconfig server on the same hyper-v with a different private ip to host Centos5 python/django/pinax web sites.

ISPconfig:8080

httpd.config

Listen 80

UseCanonicalName Off

DocumentRoot "/var/www/html"

10.0.2.121

(This ISPconfig server can only be accessed at

http://10.0.2.121

http://10.0.2.121/phpmyadmin

http://10.0.2.121:8080)

 

What Server configuration would I need in order to run multiple internal web servers on one hyper-v with single public IP?

Posted

You can run more than one web server on the same IP.

 

All web servers can listen on port 80 and will respond to internal requests via internal IP. For what you want to do you might want to look into mod_proxy to forward specific requests to each server.

Thanks I'll google that

I was thinking

server1 on port 80

server2 on port 8080

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...