First of all, Good VPS encountered a painful lesson here. I would like to remind everyone: If you want to use a top-level domain name in the future and be able to bind subdirectories, please be sure to register with your own top-level domain name 000webhost space! Because my blog did not apply for a top-level domain name in advance, I used the free second-level domain name of 000webhost. Anyway, it can bind its own top-level domain name, but when I created a subdirectory, a problem arose. Now, if you add a subdomain name in the background, it will only be bound to the second-level domain name by default. Cry!
Okay, let’s get down to business. Good VPS will review with you how to bind a subdomain name.
If you want to create a forum, for example, this site is bound to zrblog.net, and you want to add a subdomain name of bbs.zrblog.net,
also first resolve the A record of the bbs.zrblog.net domain name to the main domain name on the IP of the domain name zrblog.net, then click Subdomains in the CPanel control panel, fill in www.bbs.zrblog.net in Create new subdomain, and then enter the 000webhost space website root A directory named bbs is automatically created under the directory /public_html, so accessing bbs.zrblog.net is equivalent to accessing the bbs directory.


Hong Kong/United States/Domestic High Speed ​​VPS

postid
20527

Leave a Reply