Redirect Aliases

Hello

I have a short url website where i created som subdomains for my site. The aliases work for website redirection right now, for example “mainsite.com” works fine, but if i access “subdomain.mainsite.com” i get an error. i wonder how i can redirect the rootsubdomain to my main site. IE “subdomain.mainsite.com” visitors should get redirected to “mainsite.com” or any page of my choosing.

If you want to redirect from subdomain to domain you can enable a redirection from the panel. Under the advanced options.

You may also try to see if an alias could also fit your needs.

That solved most of my problems, thanks! :slight_smile:

The second problem i now have, what if i want to have some of the subdomains redirect do another webpage? let’s say i want “thiscoolsubdomain.mainsite.com” to redirect to "“myfriendsawsomesite.com” ?

Add it as alias of myfriedwebsite …

i mean that "“http://myfriendsawsomesite.com” is my friends website he created on another server somewhere else.

Then use a redirection

add sub-domain then use this redirection option.

image

For more redirection google how to do it with htaccess

2 Likes