|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
enabeling subdomain.domain.com
how do i enable the wrinting of a adress by the form "subdomain.domain.com" and not as i have it now "domain.com/subdomain" ???
- Pheifel |
|
#2
|
||||
|
||||
|
Are you hosting the site on a box you control, or is it hosted from an actual hosting company?
You may have to check with the actual hosting company on how set up subdomains. |
|
#3
|
|||
|
|||
|
im hosting at localhost.
|
|
#4
|
||||
|
||||
|
Do you have a domain name linked to your machine? Are you using a Nameserver?
Or are you trying to do subdomain.localhost? |
|
#5
|
|||
|
|||
|
You're going to have to add lines similar to these to your httpd.conf file
Code:
NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> ServerName localhost DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs" </VirtualHost> <VirtualHost 127.0.0.1> ServerName subdomain.localhost DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/folder_name" </VirtualHost> |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > enabeling subdomain.domain.com |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|