[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: how get browser to display http://domain.com not http://www.domain.com once on home page?
- Subject: [cobalt-users] RE: how get browser to display http://domain.com not http://www.domain.com once on home page?
- From: Christian Stueben <stueben@xxxxxxxxx>
- Date: Thu Feb 15 00:26:10 2001
- Organization: Ticcon AG - http://www.ticcon.de
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> > i have a customer who wants his domain to show up as just
> > 'domain.com' or
> > 'http://domain.com' instead of 'http://www.domain.com' once
> > the browser
> > reaches his home page. is there some way to set this up on a
> > RaQ4r? if i
> > ....
> >
> > Paul Schmidt
> > NETastic
You can simply edit your "httpd.conf" (to do this you have to login as
"root" and edit /etc/httpf/conf/httpf.conf). Search for that virtual
host entry and edit the line "ServerName www.domain.tld" to "ServerName
domain.tld". You can also put aliases in that section like "ServerAlias
[host.]domain.tld". After editing you have to check and restart your
"httpd.conf".
/usr/sbin/httpd -t
/etc/rc.d/init.d/httpd restart
Christian Stueben
Ticcon AG
Flensburg/Germany