Difference between revisions of "R4L/Services/Hosting/Basic/SubDomains"
(Created page with "Subdomains allow you to organize your website into different sections with unique names based on your site. For example, Register4Less.com's help pages are available by typing...") |
|||
(7 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | Subdomains allow you to organize your website into different sections with unique names based on your site. For example, Register4Less.com's help pages are available by typing in on your brower's address bar help.Register4Less.com. help in this example is a subdomain of Register4Less.com. | + | Subdomains allow you to organize your website into different sections with unique names based on your site. For example, Register4Less.com's help pages are available by typing in on your brower's address bar http://help.Register4Less.com. help in this example is a subdomain of http://Register4Less.com. |
+ | <br /><br /> | ||
+ | On our hosting system, you will also notice that by default http://yoursite.com will automatically updated to http://www.yoursite.com. "www" in this case is a subdomain of "yoursite.com", and is created for you automatically. If you have a subdomain configured and someone types in "www." in front of this, they will get the subdomain web page you have uploaded. | ||
+ | <br /><br /> | ||
+ | To configure subdomains for your site, you will need to create a separate directory called '''subdomains''', and then create folders under this directory. Each folder under this directory will be the subdomain that you wish to create. You will also need to add a wild card entry in a custom DNS zone file for your domain. | ||
+ | |||
+ | * Log into your account and go to DNS > Edit Custom DNS Zone. If you are prompted to load an existing zone, choose the R4L Standard Zone. | ||
+ | * In the A Records section, add a record with an Asterix "*" on the left column, and have it point to the same IP address as the record for "@". | ||
+ | * Click the Save / Publish Zone. | ||
+ | * Connect to your hosting account with the FTP program you use (we recommend FileZilla). | ||
+ | |||
+ | |||
+ | == Creating Subdomains == | ||
+ | The easiest way to explain the setup is with an example, so we going to use | ||
+ | * example.com as our domain name. You will of course need to replace this with your domain name | ||
+ | * We will use photo and home as the subdomains we will be creating. | ||
+ | |||
+ | |||
+ | == Step by Step Guide. == | ||
+ | photo.example.com: Connect with your FTP program for your subdomain using the following settings: | ||
+ | :* username: photo.example.com | ||
+ | :* password: password configured for the domain (i.e. example.com in our example) | ||
+ | home.example.com: Connect with your FTP program for your subdomain using the following settings: | ||
+ | :* username: home.example.com | ||
+ | :* password: password configured for the domain (i.e. example.com in our example) | ||
+ | Remember, the first file that will be loaded for any subdomain should be called "index.html" |
Latest revision as of 04:02, 27 March 2017
Subdomains allow you to organize your website into different sections with unique names based on your site. For example, Register4Less.com's help pages are available by typing in on your brower's address bar http://help.Register4Less.com. help in this example is a subdomain of http://Register4Less.com.
On our hosting system, you will also notice that by default http://yoursite.com will automatically updated to http://www.yoursite.com. "www" in this case is a subdomain of "yoursite.com", and is created for you automatically. If you have a subdomain configured and someone types in "www." in front of this, they will get the subdomain web page you have uploaded.
To configure subdomains for your site, you will need to create a separate directory called subdomains, and then create folders under this directory. Each folder under this directory will be the subdomain that you wish to create. You will also need to add a wild card entry in a custom DNS zone file for your domain.
- Log into your account and go to DNS > Edit Custom DNS Zone. If you are prompted to load an existing zone, choose the R4L Standard Zone.
- In the A Records section, add a record with an Asterix "*" on the left column, and have it point to the same IP address as the record for "@".
- Click the Save / Publish Zone.
- Connect to your hosting account with the FTP program you use (we recommend FileZilla).
Creating Subdomains
The easiest way to explain the setup is with an example, so we going to use
- example.com as our domain name. You will of course need to replace this with your domain name
- We will use photo and home as the subdomains we will be creating.
Step by Step Guide.
photo.example.com: Connect with your FTP program for your subdomain using the following settings:
- username: photo.example.com
- password: password configured for the domain (i.e. example.com in our example)
home.example.com: Connect with your FTP program for your subdomain using the following settings:
- username: home.example.com
- password: password configured for the domain (i.e. example.com in our example)
Remember, the first file that will be loaded for any subdomain should be called "index.html"