|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
NameVirtualHost at Apache
Fore quite a while I am trying to set Apache server to use domain names instead of IP addresses.
1) At my local (home) computer I have two Apache servers (1.3.28 and 2.0.47) and they work just fine. 2) OS Windows XP 3) I can’t set <NameVirtualHost> in httpd.conf file 4) When I try to get www.something.home IE can’t find it, but when I use IP address for example 127.10.10.1 I am gating home directory of www.something.home 5) I use Apache servers just to test my PHP and MySql scripts. Question: Is it possible to force Apache to use DNS at local computer (localhost)? How? Thank you and best regards, Miroslav |
|
#2
|
|||
|
|||
|
In notepad open this file:
%systemroot%\system32\drivers\etc\hosts In the first column add an IP address. In the second column add the cooresponding domain name. Poor man's local DNS
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
Your info solved my problem.
Thank you, Miroslav |
|
#4
|
|||
|
|||
|
no problem at all.
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > NameVirtualHost at Apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|