Login Login

Difference between revisions of "Adding a subdomain"

Your guide to pathway services

Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
  
If ''example.com'' is your primary site and ''example.com/wiki ''is your secondary site, you can create a subdomain called ''wiki.example.com'' to point to ''example.com/wiki.''
+
If ''example.com'' is your primary site and ''example.com/wiki ''is your secondary site, you can create a subdomain called ''wiki.example.com'' to point to ''example.com/wiki''
  
  
  
 
To get to the '''Subdomain''' page:
 
To get to the '''Subdomain''' page:
 
 
  
 
#Click on the '''Sites''' tab.
 
#Click on the '''Sites''' tab.
Line 18: Line 16:
  
 
[[File:Subdomains1.png|none|Subdomains1.png]]
 
[[File:Subdomains1.png|none|Subdomains1.png]]
 
 
  
  
  
 
To create a new subdomain:
 
To create a new subdomain:
 
+
<ol start="4">
 
+
<li>Click on '''Add new subdomain'''.</li>
 
+
<li>In the '''Host''' field, enter the hostname of your subdomain and leave out the domain name. (For example, the host name for '''''wiki.'''''<i>example.com</i> is '''''wiki''''')</li>
#Click on '''Add new subdomain'''.
+
<li>From the '''Domain '''dropdown list, select the domain name. (For example, if you were creating a subdomain for ''wiki.'''example.com''''', you would enter '''''example.com''''' in this field.)</li>
#In the '''Host''' field, enter the hostname of your subdomain and leave out the domain name. (For example, the host name for '''''wiki.'''''<i>example.com</i> is '''''wiki'''''.)
+
<li>From the '''Redirect Type '''dropdown list, make a selection. This field allows you to disable or enable redirect. It also allows you to select the [http://docs.pathcom.com/mediawiki/index.php/Choosing_redirect_types redirect flag].</li>
#From the '''Domain '''dropdown list, select the domain name. (For example, if you were creating a subdomain for ''wiki.'''example.com''''', you would enter '''''example.com''''' in this field.)
+
<li>In the '''Redirect Path '''field, enter the redirect path. The redirect path is the route taken to reach a destination.</li>
#From the '''Redirect Type '''dropdown list, make a selection. This field allows you to disable or enable redirect. It also allows you to select the redirect flag. (Refer to previous sections for more information on redirects.)&nbsp;
+
<li>Select the '''Active '''checkbox to activate the subdomain. To deactivate the subdomain unselect the checkbox.</li>
#In the '''Redirect Path '''field, enter the redirect path. The redirect path is the route taken to reach a destination. This is the path (full path or path relative to the document root) or URL where the redirect should point to. (Also known as the ‘target’ path).
+
<li>Click '''Save'''.</li>
#Select the '''Active '''checkbox to activate the subdomain. To deactivate the subdomain unselect the checkbox.
+
</ol>
#Click '''Save'''.
+
  
  
  
 
[[File:Subdomains2.png|none|Subdomains2.png]]
 
[[File:Subdomains2.png|none|Subdomains2.png]]

Latest revision as of 15:22, 23 February 2018

Subdomains are used if you are hosting multiple websites with us.


If example.com is your primary site and example.com/wiki is your secondary site, you can create a subdomain called wiki.example.com to point to example.com/wiki


To get to the Subdomain page:

  1. Click on the Sites tab.
  2. Locate the Websites section.
  3. Select Subdomain for website.


Subdomains1.png


To create a new subdomain:

  1. Click on Add new subdomain.
  2. In the Host field, enter the hostname of your subdomain and leave out the domain name. (For example, the host name for wiki.example.com is wiki)
  3. From the Domain dropdown list, select the domain name. (For example, if you were creating a subdomain for wiki.example.com, you would enter example.com in this field.)
  4. From the Redirect Type dropdown list, make a selection. This field allows you to disable or enable redirect. It also allows you to select the redirect flag.
  5. In the Redirect Path field, enter the redirect path. The redirect path is the route taken to reach a destination.
  6. Select the Active checkbox to activate the subdomain. To deactivate the subdomain unselect the checkbox.
  7. Click Save.


Subdomains2.png