Web Hosting Talk







View Full Version : Removing www from a domain


OBCENEIKON
09-24-2004, 01:53 PM
I am trying to get my site to open if you use www before the domain name or not
I was told it could be done using ScriptAlias but cant seem to get it to work
I tried ScriptAlias plurpage.com /httpd/virtwebs/domian/public_html but that does not seem to work. Could anyone help me out on this?

dawhb
09-24-2004, 01:59 PM
Contact your hosting provider and aske them to make your domain visible without www

Regards
D.

OBCENEIKON
09-24-2004, 02:02 PM
hehe, actually I work at the host...
I am a admin in training...asked the senior admin how to do this, but he is too busy right now to show me...was hoping to learn it myself, but cant figure it out =/

Dave Zan
09-24-2004, 03:15 PM
Assuming you're already familiar with your control panels, just
create what's called an Address or A-record. The A-record tells
the domain name what IP address to go straight to (I think).

For example, you can create 2 A-records where domain.com &
www.domain.com go to 111.111.111.111. But since you're w/
a hosting provider, I'm don't really know how it goes on that
end.

Hope this helps.

Changeling
09-24-2004, 07:09 PM
Hi, OBCENEIKON
If the site is a name-based virtual host (and assuming the ServerName is www.plurpage.com) then you can add the following directive within the VirtualHost block:
ServerAlias plurpage.com

This assumes that you have DNS records for both www.plurpage.com and plurpage.com.

Brian

OBCENEIKON
09-24-2004, 09:07 PM
Thanks for the replies yall, finally go the senior admin to show me how to do it before getting a chance to see the replies. He did the basically the same thing that Changeling recomended. thanks again :)