virtual ip interfaces virtual question? one

When I do a preview inside of virtualmin this works!

https://myhost:10000/virtual-server/link.cgi/10.10.1.4/http://www.myouts...

how however when type

http://myoutside.com or www.outside.com

!t does not!

Also what should the DNS entries be?

My configuration I am front a plone server on the same box.

ServerName myoutside.com ServerAlias www.myoutside.com ProxyRequests off ProxyPass / http://xx.xx.12.208:8080/site2/rbt/ ProxyPassReverse / http://xx.xx.12.208:8080/site2/rbt/ ProxyHTMLURLMap / http://xx.xx.12.208:8080/site2/rbt/ SetOutputFilter proxy-html RequestHeader unset Accept-Encoding ErrorLog /var/log/virtualmin/myoutside.com_error_log CustomLog /var/log/virtualmin/.myoutside.com_access_log combined

Thanks,

Wayne

Status: 
Active

Comments

What goes wrong when you access it from outside exactly?

Also, I see you are using a 10.* IP address, which is typically for internal networks. Is your Virtualmin system behind a NAT gateway?

What I get the default apache webpage! In stead of the desired virtual host. I have a question should the DNS entries the 10.10 .1.0 internal entries or the external ones or should be two sets?

================================================================ It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

Current IP address 10.10.1.4 Virtual interface eth2:4 New IP address 10.10.1.4 Current web ports 80 (HTTP) 443 (HTTPS) New HTTP port 80 New HTTPS (SSL) port 443

IP address 10.10.1.4 (Private to this server) Virtual interface
Remove now Keep interface eth2:4 IPv6 address
None Add with address
External IP address Same as real address (10.10.1.4) x.x.12.208

So do you have a NAT gateway that maps the external address x.x.12.208 to the internal IP 10.10.1.4 ?

In a setup where you are using NAT, you must have one external address for each internal address on the Virtualmin system, with 1 to 1 mapping between them. Otherwise you will get errors like this..