Skip to content

Addon Domains

Manage additional domains for your hosting. You can set up the following types of addon domains:

  • Domain Aliases (pointing to your main website)
  • Domain Redirects (pointing to some other URL)
  • Domain Pointings (independent websites)

Domain

Register/Add Domains

Please note that the additional domains you set up here must be previously registered in order to work. You can do this in the customer's domain section, or just ask us to do it for you.

If you have registered the domain name yourself, please enter the following name servers at your registrar:

ns1.onlime.ch
ns2.onlime.ch
ns3.onlime.ch

Domain Pointing

If you set up a domain as domain pointing, you can run a completely independent website under this domain. The content of this domain will be different from the content of your main domain, because the domain pointing points to an independent subdomain directory. So please set up the subdomain in advance under section «Subdomains».

Domain Alias

When navigating to a domain alias, the alias domain will remain in the address bar of your browser. All subsequent pages of the called website are displayed under the alias domain. Unlike a domain alias, a domain redirect redirects the visitor completely to the destination URL.

So with a domain alias you deliver the same content under multiple domains. A domain alias points directly to the directory public_html/www/ (resp. public_html/sub/ for the subdomain "sub"). Every subdomain you set up is automatically available under the domain alias – so you don't need to set up subdomains twice!

Domain Redirect

With a domain redirect you can forward your domains to any destination URL. The destination URL appears in the address bar of your browser.

HTTP Status

The 301 redirect is the most important redirect for SEO. It is used to permanently redirect one URL to another. This is why the status code issued by the server is also 301 Moved Permanently.

While the 301 redirect is “permanent”, the 302 redirect is temporary (status code: 302 Found). The main difference between a 301 and 302 redirect is therefore the duration of the address change and therefore the inclusion in the cache. While the new URLs of the permanent 301 redirect are stored in the Google cache and thus indexed, a 302 redirect does not cache the redirect destinations due to the temporary move.

Target URL

This is the complete URL which your domain should be redirected to. If you do not activate the «Wildcard» option, the path of the previous URL will be appended to the target URL, i.e. your visitors will land on the same page of your redirect target.

Wildcard

The “Wildcard” option is deactivated by default, i.e. the path of the source address is appended to the target URL. A conventional domain redirect is implemented on the web server as follows, using Redirect (mod_alias):

apache
<VirtualHost *:443>
ServerName www.example.io
ServerAlias example.io
Redirect / https://www.example.com/
</VirtualHost>

If you activate the «Wildcard» option, this is handled as a Domain Rewrite (Wildcard Redirect), which is implemented in Apache using RewriteRule (mod_rewrite):

apache
<VirtualHost *:443>
ServerName www.example.io
ServerAlias example.io
RewriteEngine On
RewriteRule ^/(.*) https://www.example.com/? [R,L]
</VirtualHost>

In contrast to the conventional domain redirect, the Domain Rewrite (Wildcard Redirect) does not forward any URL path to the target domain/URL, i.e. it always redirects to the same target.