How do I set up a second site or domain name to point to my main web site?
Set up second domain name as an alias for your primary domain:
Let's call your primary site yourdomain.com, and the alias site othersite.com. The site yourdomain.com is probably the name of your VPS if you only have a couple of websites.
- Log in to your Dashboard
- Navigate to VPS HOSTING
- Select your VPS/Domain: yourdomain.comĀ
-> Click Manage (green button) - Go to Web Sites
- Click Add New Website or Subdomain to this VPS (green button)
- Add a new website, called "othersite.com" or whatever your alias will be.
The alias site will now appear in your list of websites, and you'll see an option to edit the document root. Change the document root of your alias website so it matches the document of your primary website, i.e. /home/domains/yourdomain.com/public
That's it! Your domain is now aliased, and it'll even get free SSL certificates automatically installed. That takes a bit of time, usually about half an hour, so just be patient.
If your alias is a newly purchased domain, or if you're just now pointing it to our servers, you'll probably need to set up DNS: https://support.brownrice.com/content/2/276/en/how-do-i-setup-dns.html
If that sounds scary or you're just not sure, just email support@brownrice.com and we can tell you very quickly.