Re: www and without www is not the same ?!

Wim Kerkhoff <[email protected]> Thu, 24 Nov 2005 22:42:36 -0800
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Hi Thomas,

thomas-5VVOt45T8ASrG/[email protected] wrote:
> hi all, I am using ispman a long time ago, but I still don't understand
> why www and without www isn't direct into same place ?
>
> for example, you type www.domain.com on the browser, and domain.com only,
> both are running into different page, how could I resolve this ? Thanks

You need to:

1) ensure that A records exist for both www and @

2) update the vhost with a ServerAlias for domain.com, so that it will 
work for both URLs

By default, I don't think ISPMan does this.

Wim



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click