|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database 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
|
|||
|
|||
|
Name Virtual Host Help
I had a look around the forum and also try different orders.
but i still cant name-bases Virtual Host to work this is what i like to do on computer 1 (call flux) i have set up a Virtual Host like this: === BindAddress * NameVirtualHost * <VirtualHost *> ServerAdmin webmaster@dummy-host.example.com DocumentRoot h:/phpdev/www ServerName localhost </VirtualHost> <VirtualHost *> ServerAdmin webmaster@dummy-host.example.com DocumentRoot h:/phpdev/boo ServerName boo ServerAlias boo </VirtualHost> === On flux i can access both names-bases Virtual Host but on my other computer (trix) i can only access the main localhost site , when trying to access http://boo i get a error saying: The page cannot be displayed. this is only for my intranet not for people to access from the internet using apache 1.3 on WinXP Pro and boo is only a test name ok can any one help thank you Minesh M |
|
#2
|
||||
|
||||
|
On your other system, you need a host entry or something approximating DNS telling it what IP to resolve boo to. On a windows box, I think you can use a hosts or lmhosts file to set up such an alias.
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
thank you so much!!!
i was trying to get it working for for a weeks thank you again what i did is (well was told to do): I edited the "hosts" file on my other computer (trix) C:\WINDOWS\system32\drivers\etc\ to === # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost boo === i hope other people also find this helpful |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Name Virtual Host Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|