Koozali.org: home of the SME Server

Multiple websites

Offline Lourens

  • **
  • 40
  • +0/-0
Multiple websites
« on: January 29, 2005, 02:15:52 PM »
Is it possible to host multiple websites on my SME-server 6.0.1,
I've 1 ipadress for this server

Can someone help me with that?

Lourens
......

Offline jonash

  • ****
  • 120
  • +0/-0
yes
« Reply #1 on: January 29, 2005, 03:19:27 PM »
I've done that...
I have two domains from www.gotdns.org. Both are pointing to the same IP-adress. (You can have up to five domains for free1)

Make an ibay, and then configure a virtual domain in SME. Add the name of the domain, and to which ibay this domain should be directed..

Then you have to add come content, but that is another story...


Hope this helps!
.........

Offline Lourens

  • **
  • 40
  • +0/-0
Multiple websites
« Reply #2 on: January 31, 2005, 11:41:32 PM »
Thanks,
I do not know how the SME server can see the difference, but it works!
......

Offline jonash

  • ****
  • 120
  • +0/-0
apache
« Reply #3 on: February 01, 2005, 06:42:53 AM »
FYI:
It's actully Apache which sees the difference.
There is something called "Name-based Virtual Hosts" in Apache, which does the trick. Its a nice feature, which is documented here.. http://httpd.apache.org/docs/vhosts/name-based.html
Everything is defined in httpd.conf.
.........