Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: enchesss on March 28, 2009, 04:05:02 PM

Title: 2nd sme server behind 1st sme gateway to host a second website
Post by: enchesss on March 28, 2009, 04:05:02 PM
There is a second server set up behind the gateway to host another website and the starter web page is accessible by putting th eip address into the browser. How can the second websites DNS be set up to be found over the net?

I have set up the name through dynamicdns and it is ready to go - hopefully

Do I have to add another domain to the first gateway sme?

Any links for further reading would be great

thanks
Title: Re: 2nd sme server behind 1st sme gateway to host a second website
Post by: Knuddi on March 28, 2009, 04:28:07 PM
the second server is on a local IP address which cannot be routed on the internet. The only way to access this from the outside is either change apache listening port (away from TCP/80) on the gateway or the second sme server. If you do not need to host web on the gateway then change that and make port forward of TCP/80 to second server internal IP.
 
Then the second server will be accessible from gateway's DNS
Title: Re: 2nd sme server behind 1st sme gateway to host a second website
Post by: cactus on March 28, 2009, 06:18:57 PM
Do you really need the second SME Server? Are you sure you can not host the second domain in an ibay and use the virtual domain setting to create the domain and point it to the ibay?
Title: Re: 2nd sme server behind 1st sme gateway to host a second website
Post by: dgs on March 29, 2009, 12:43:13 AM
There is a second server set up behind the gateway to host another website and the starter web page is accessible by putting The IP address into the browser. How can the second websites DNS be set up to be found over the net?

http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass (http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass) Is how you set up SME to point to another web server behind a SME server/gateway.

Please be aware of the security considerations of taking these actions!  Of course you will need a unique external domain  (different from your primary domain) pointing to your external IP.

I often use this configuration for a web development server, to share prior to publication.

Quote from: cactus
Do you really need the second SME Server? Are you sure you can not host the second domain in an ibay and use the virtual domain setting to create the domain and point it to the ibay?

This is good advice! SME is more than capable of hosting multiple domains which will be the simpler and more secure option if at all possible. For more demanding applications you can also consider the SME site maker contrib. http://wiki.contribs.org/SME_Site_Maker (http://wiki.contribs.org/SME_Site_Maker)
Title: Re: 2nd sme server behind 1st sme gateway to host a second website
Post by: enchesss on March 29, 2009, 06:54:09 PM
thank you - I am attempting to develop the 2nd server here so most things are ready for use at another location.
 will let you know how it goes.