How to go about hosting multiple websites?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to go about hosting multiple websites?

Postby brduran » 13. June 2008 23:20

The question is how to go about hosting multiple websites?

I know that in "httpd-vhosts" you can enter as many VirtualHost as you need with their ServerName and DocumentRoot.

Say I have listed "ServerName zingout.server.com", nobody can see it from the internet; I type http://zingout.server.com and it doesn't show up. How do I solve all this?

I heard abut ISC Bind9 DNS server solutions, is it hard to configure?

Thank you.
brduran
 
Posts: 22
Joined: 13. June 2008 03:13

Postby brduran » 22. June 2008 01:47

Ok..

What's below I added it in "httpd-vhosts", then I went to GoDaddy and in Manage Domains I found Zingout.com, in it you can add additional ARecords. So I added an ARecord @ 75.155.161.123 (our XAMPP server's static IP)

<VirtualHost *:80>
ServerName zingout.com
DocumentRoot c:\xampp\htdocs\www\zingout
ServerAlias www.zingout.com
</VirtualHost>

Now when you go to www.zingout.com it shows the website on our server. There's no need for a local DNS Server.

I hope is the same for all the other domains we have with them.
brduran
 
Posts: 22
Joined: 13. June 2008 03:13

Postby brduran » 22. June 2008 03:05

We added the entry below in "httpd-vhosts", then in GoDaddy's Manage Domains went to Fixcellent.com and added the same ARecord as in Zingout.com: ARecord @ 75.155.161.123 (our XAMPP server's static IP)

Once we knew it was working we deleted GoDaddy's ARecord entry.

<VirtualHost *:80>
ServerName fixcellent.com
DocumentRoot c:\xampp\htdocs\www\fixcellent
ServerAlias www.fixcellent.com
</VirtualHost>

Now when you go to www.fixcellent.com it shows the website on our server.
brduran
 
Posts: 22
Joined: 13. June 2008 03:13


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 45 guests