Koozali.org: home of the SME Server

2nd sme server behind 1st sme gateway to host a second website

Offline enchesss

  • **
  • 69
  • +0/-0
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

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: 2nd sme server behind 1st sme gateway to host a second website
« Reply #1 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: 2nd sme server behind 1st sme gateway to host a second website
« Reply #2 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?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline dgs

  • **
  • 63
  • +0/-0
Re: 2nd sme server behind 1st sme gateway to host a second website
« Reply #3 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 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

Offline enchesss

  • **
  • 69
  • +0/-0
Re: 2nd sme server behind 1st sme gateway to host a second website
« Reply #4 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.