PDA

View Full Version : Name or IP based vhosts?


breki
12-13-2004, 01:22 PM
Hi all!

I would like to make a Mac OS X server to run 10-15 sites for my company. I am setting up it at home.

What do you suggest me, to use IP or name based virtual hosting?

Thanks for your answere in advance!

Best Regards,
Breki

davewalcott
12-13-2004, 02:09 PM
The one big disadvantage to name-based virtual hosts is that multiple name-based websites won't work with security certifcates - SC's require one IP address per certificate. So if you're running secure websites, IP-based hosts will be necessary.

If not, then save IP's and use name-based hosts. Long ago, there used to be problems with search engines indexing name based web sites, but those have almost all gone away, esp. with the big engines like Google, MSN, Yahoo, etc.

breki
12-14-2004, 05:17 PM
Thank you very much for your help.

Furthermore I have an additional question: how can I set up password for a directorie?

I created

.htaccess

and

.htpasswd

files, but it doesn't work. What can be the problem?

Thanks for your help a lot!

Best Regards,
Breki