Help Center

Custom Domain?

 Custom Domains

Customers can add their own domain name and use it to shorten URLs. This will require some setup. First, as an admin, you need to enable Multiple Domain Names in the admin panel > settings > advanced settings. Once that is done, your customers can add their own domain name via the Custom Domain page. They will need to either add an A record or a CNAME record. On your side, you will require some changes before your server can accept their domains.

Shared Server/cPanel

If you are on a shared server, you will have to add the domain name via the "Addon Domain" tool located in cPanel. It is very important that the Root Directory of the domain be the same as the primary domain or where the script has been installed.

VPS/Dedicated Server

If you are on a dedicated server, you will need to do a small modification to the default apache conf file usually located in /etc/apache2/sites-enabled/ and named 000-default.conf. Open that file and you will see the content shown on the right. You will need to replace the path /var/www/html/ in DocumentRoot and Directory to the path where the script is installed and restart Apache.

To check if the domain name is working, after visiting the domain you should get a page with a message that says Yes. Your domain name is working. Add it to your account now. If you get any other page, that means the server is handling the domain name and is pointing it to another page.

The instruction for managed VPS works on a typical server running apache and PHP. If you are using an NGINX server then you will need to manually update the Nginx config file. Similarly if you are using an IIS server, you will need to manually update the configuration.

Did not answer your question?
Contact us
Related Questions
Custom Domain?