Home
 

Customer Support

Search for keywords:

Browse by category:

Can I have many domain names that all lead to the same
website?

Yes, we can do a "domain alias" (a phrase we coined) for you.

A Domain Alias allows additional domain names to all lead to the exact same locations on your original website. For example, if you are hosting your domain name "original.com" with us and added a Domain Alias for "alias.com", then http://www.original.com and http://www.alias.com would take a visitor to the exact same pages of your original.com website. http://original.com/somefile.html would bring someone to the exact same page as http://alias.com/somefile.html. With a Domain Alias, the URL in the address bar of the user's browser stays exactly as they typed it.

All email sent to anything @alias.com will be delivered to sameperson@original.com. In other words, all mail for alias.com is treated as if it was actually addressed to original.com. This lets you manage email for both domains at once in your Control Panel. This means you cannot have mail addressed to bob@original.com be delivered differently than mail addressed to bob@alias.com.

Domain Aliases have all the properties of a regular domain hosting account in terms of DNS and mail. The only difference is that the Domain Alias has no files (web pages) of it's own. Instead it uses the files of the aliased domain name.

To set up the Domain Alias service for an additional domain name, simply log in to the OnSite Control Panel using your administrator username and password. Once you have successfully logged in, under the header "Domains", select "Domain Aliases". Enter the new domain that you would like to be an alias of your primary domain in the text entry box, and click "Add Alias". Provided the domain is using only our nameservers, the changes should be immediate. Recent changes to listed nameservers on domain registrations may take up to 24 hours to take effect.

User-Contributed Notes

add a note
rel -at- asurefit.com
09-Jul-2002 09:23
Domain Alias are $1 per month per domain.

04-Oct-2002 14:17
If you want a Domain Alias to redirect and put the correct hostname in
the URL bar of the browser, you can use mod_rewrite. If you are hosting
original.com and have a domain alias of alias.com and you want all
requests for alias.com urls to be redirected back to original.com urls,
then you would put this in an .htaccess file in any directory where you
want this redirection to happen:

   RewriteEngine on
   RewriteCond %{HTTP_HOST} alias.com$   [NC] 
   RewriteRule ^(.*)$  http://www.original.com/$1   [R] 

The rule will affect all directories below the one where you put this
.htaccess file. So a request for http://www.alias.com/docs/services.html
will be redirected to http://www.original.com/docs/services.html as
well.

07-Oct-2002 17:29
If you want a Domain Alias to serve pages only from a certain
subdirectory, you can use this mod_rewrite rule in an .htaccess file in
your /htdocs/www directory of your primary hosting account:

       RewriteEngine on
       RewriteCond %{HTTP_HOST}  alias.com$     [NC]
       RewriteCond %{REQUEST_URI} !^/subdir/.*$ 
       RewriteRule ^(.*)$  http://www.original.com/subdir/$1 [R]

Then when requests for the aliased domain come in, the browser will be
redirected to find files in the subdirectory, while still keeping the
domain name of the domain alias in the browser address bar. Files for
the domain alias in the above example would be served from
/htdocs/www/subdir/

21-Oct-2002 12:18
If you have a Domain Alias that you'd like to point to a specific
directory of your orginal domain, and you'd like to maintain the domain
name of the Domain Alias in your URL, use the suggested mod_rewrite rule
in the technote posted above (dated 10/07/2002).

Replace line 4 of that rule with the following:

RewriteRule ^(.*)$  http://www.alias.com/subdir/$1 [R]

24-May-2003 01:47
If abc.com is your original domain and xyz.com is the domain alias, and
you want people going to abc.com to see one site and people going to
xyz.com to see a different site, and you want the hostname to stay as
the user typed it, make a directory called xyz under /htdocs/www and put
the xyz.com website in it. Then use mod_rewrite in an .htaccess file in
/htdocs/www

  RewriteEngine On
  RewriteCond %{HTTP_HOST}  xyz.com$ [NC]
  RewriteCond %{REQUEST_URI} !^/xyz/.*$
  RewriteRule ^(.*)$  /xyz/$1

Now when people go to abc.com they will see the site in /htdocs/www.
When people go to xyz.com, they will be served pages from
/htdocs/www/xyz and the URL in their browser will not change the
hostname or show them the /xyz/.

add a note

Related Questions:


Where can I see my website if my domain registration does not yet list the right DNS servers, or if I do not have my own domain name?

How do I change my hosts file? Or, how can I see my domain before DNS changes propagate?

What are your DNS servers?

How do I transfer my site to MW with no downtime?

What is your IPS Tag for my co.uk domain?

My Control Panel password doesn't work on the Domain registration login.

Where can I get my own domain name?

I just transferred my domain and I either get an Error 403 when trying to go to it, or my site stays the same even though I have uploaded new files and made changes.

Can I have access to my zone file?

Why do you recommend against hosting my own DNS?

Do I have to have my own domain name to host with you?

What if I forgot my Network Solutions login?

How do I change my listed Nameservers (DNS) at Network Solutions?

Can You Provide Assistance in Migrating My Account from Shared Hosting to a VPS?

Do you provide reverse DNS services?

How do I transfer my shared hosting account to a VPS account with little to no downtime?

Why don't the serial numbers match on the nameservers for my domain?

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Tiny Modwest Logo         Copyright 2000-2008 by Modwest, Inc.          About Us    |    Blog    |    Jobs    |    Web Design    |    Contact Us