Subdomain: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
m (rv: Undo spam)
No edit summary
Line 1: Line 1:
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://olitudyxej.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
----
=[http://olitudyxej.co.cc CLICK HERE]=
----
</div>
To setup a subdomain on the Uniform Server, your best option is to use a [[VirtualHost]].  Once your VirtualHost is set up, you need to also configure your domain, normally with a CNAME entry, pointed to the same location as the root domain.  This basically tells the DNS to direct requests to the subdomain to the same location as requests to the main domain.  Therefore, both requests end up going to your Uniform Server.
To setup a subdomain on the Uniform Server, your best option is to use a [[VirtualHost]].  Once your VirtualHost is set up, you need to also configure your domain, normally with a CNAME entry, pointed to the same location as the root domain.  This basically tells the DNS to direct requests to the subdomain to the same location as requests to the main domain.  Therefore, both requests end up going to your Uniform Server.


Example DNS Records:
Example DNS Records:
{| border="1"
{| border=&quot;1&quot;
|-
|-
! HOST
! HOST

Revision as of 01:09, 24 November 2010



Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page


CLICK HERE


To setup a subdomain on the Uniform Server, your best option is to use a VirtualHost. Once your VirtualHost is set up, you need to also configure your domain, normally with a CNAME entry, pointed to the same location as the root domain. This basically tells the DNS to direct requests to the subdomain to the same location as requests to the main domain. Therefore, both requests end up going to your Uniform Server.

Example DNS Records:

HOST TYPE VALUE
example.com A 255.255.255.255
dev.example.com CNAME example.com

Working With Localhost

Without direct access to the Records for localhost, if you are developing on a local server, see Working With The HOSTS File for more information on setting that up.