View Single Post
Old 11-07-2001, 07:17 AM  
Osholio
Confirmed User
 
Join Date: Sep 2001
Location: UK
Posts: 99
Quote:
Originally posted by Marcus:
is it hard to make it so that people don't need to type the 'www' when getting to your site?

using apache
It's trivial. Assuming that www.mysite.com and mysite.com point to the same ip address it's as simple as having like this in your VirtualHost section:

ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com

If you do want subdomains, you will want to remove the *.mysite.com

Of course, if you don't use virtual hosts then whatever site is sat on the ip address will be displayed.

That's basically it.

------------------
ClickCash - Better than 1:99 and $50 for signing up
Lightspeed Cash - Converts like crazy

[This message has been edited by Osholio (edited 11-07-2001).]
Osholio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote