网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   虚拟主机 (https://www.0058.net/forumdisplay.php?f=51)
-   -   hostgator虚拟主机域名泛解析方法 (https://www.0058.net/showthread.php?t=5865)

Aliana 2016-09-02 06:54 PM

hostgator虚拟主机域名泛解析方法
 
Wildcard DNS, What is it and How Do I Use it?
Wildcard DNS allows all subdomains to share the same set of files, which may be necessary for a multisite web application or if you want the subdomains to show the same content as the main site.

An example of Wildcard DNS would be if a site visitor tries to use a subdomain such as example.domain.com. It would work the same as if the visitor had gone to the designated domain, http://domain.com/
Wildcard DNS for the Primary Domain

You can set up wildcard DNS via cPanel by following these steps:

Log into your cPanel.
Navigate to the Subdomains icon in the Domains section.
Add a subdomain called *
Make sure to set the document root to your public_html folder.

Wildcard DNS for Addon Domains

The process for setting up wildcard DNS for an addon domain is mostly the same with the exception of the document root which is used.

In cPanel, navigate to the Subdomains icon in the Domains section.
Add a subdomain called *
Make sure to set the document root to match the document root of the addon domain. The document root can be found inside of your cPanel within the Addon Domain area.
一般4-6小时生效。


All times are GMT +8. The time now is 08:54 AM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.