Using a custom domain name

When you log-in to DriveToWeb, your content can be found under a domain name that looks like ptjmp8b6xwmygzg4jlm2pa.on.drv.tw. There is a way to use your own domain name to replace the provided .on.drv.tw name.

You need to modify your DNS records to link a domain name to a DriveToWeb folder.

For example, you can set up a website as URL http://www.example.com and point it to the contents of https://ptjmp8b6xwmygzg4jlm2pa.on.drv.tw/www.example.com/ (the host name of your website, www.example.com, must match the root-level folder name as seen in this URL), you need to do the following:

  1. In the DNS setting for domain example.com, create a CNAME record that sets name www to point to target ptjmp8b6xwmygzg4jlm2pa.on.drv.tw.
  2. On your cloud drive, at the root level, create a folder named www.example.com and put your contents in there. It is recommended that you name your entry point index.html.
  3. It may take up to 72 hours for your DNS settings to become active. After that you will be able to access your content at https://ptjmp8b6xwmygzg4jlm2pa.on.drv.tw/www.example.com/ as http://www.example.com.
You can get your free domain name via [Freenom](https://www.freenom.com/), which provides domain names ending in .TK, .ML, .GA, .CF, .GQ. [Instructions](https://my.freenom.com/knowledgebase.php?action=displayarticle&id=4) are available for configuring CNAME for Freenom domain names.

Note that you only access the custom domain name as via HTTP, not HTTPS.

You may enable HTTPS access to your custom domain name by using a CDN.