[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?



> > 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