Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Virtual Host

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  mod_dav  
Author Message
zarwell

External


Since: Dec 05, 2003
Posts: 18



(Msg. 1) Posted: Fri Jan 09, 2004 2:01 am
Post subject: Virtual Host
Archived from groups: alt>apache>configuration (more info?)

Does anyone have any idea why this isn't working?
The following virtual host info in my httpd.conf works when I have someone
try it from my IP (I assume cause it's the default ), but not when I try the
domain www.mysite.com or it's aliases.

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin admin DeleteThis @mycompany.com
ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com
DocumentRoot C:/www/mysite
</VirtualHost>

The dns info appears to be correct, a whois shows it points to my name
server, and the name server points to my IP correctly. My domain people tell
me everything is set up correctly with the mysite.com domain and the name
server. I've tried shutting off my firewall, and my router forwards port 80
traffic to my server correctly. Any ideas why the www.mysite.com doesn't
work? Thanks for any guesses!
Steve.

 >> Stay informed about: Virtual Host 
Back to top
Login to vote
zarwell

External


Since: Dec 05, 2003
Posts: 18



(Msg. 2) Posted: Fri Jan 09, 2004 2:45 am
Post subject: Re: Virtual Host [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Szar" <zarwell DeleteThis @hotmail.com> wrote in message
news:DjlLb.7278$3x7.3088@newssvr23.news.prodigy.com...
 >
 > Does anyone have any idea why this isn't working?
 > The following virtual host info in my httpd.conf works when I have someone
 > try it from my IP (I assume cause it's the default ), but not when I try
the
 > domain <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> or it's aliases.
 >
 > NameVirtualHost *:80
 > <VirtualHost *:80>
 > ServerAdmin admin DeleteThis @mycompany.com
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.mysite.com</font" target="_blank">www.mysite.com</font</a>>
 > ServerAlias mysite.com *.mysite.com
 > DocumentRoot C:/www/mysite
 > </VirtualHost>
 >
 > The dns info appears to be correct, a whois shows it points to my name
 > server, and the name server points to my IP correctly. My domain people
tell
 > me everything is set up correctly with the mysite.com domain and the name
 > server. I've tried shutting off my firewall, and my router forwards port
80
 > traffic to my server correctly. Any ideas why the <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> doesn't
 > work? Thanks for any guesses!
 > Steve.
 >
 >

Nevermind, found it. I finally remembered to add the <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> info to
the windows hosts file. Hope this helped someone else.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Virtual Host 
Back to top
Login to vote
zarwell

External


Since: Dec 05, 2003
Posts: 18



(Msg. 3) Posted: Fri Jan 09, 2004 6:19 am
Post subject: Re: Virtual Host [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Szar" <zarwell.TakeThisOut@hotmail.com> wrote in message
news:UYlLb.7285$KV7.5571@newssvr23.news.prodigy.com...
 >
 > "Szar" <zarwell.TakeThisOut@hotmail.com> wrote in message
 > news:DjlLb.7278$3x7.3088@newssvr23.news.prodigy.com...
  > >
  > > Does anyone have any idea why this isn't working?
  > > The following virtual host info in my httpd.conf works when I have
someone
  > > try it from my IP (I assume cause it's the default ), but not when I try
 > the
  > > domain <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> or it's aliases.
  > >
  > > NameVirtualHost *:80
  > > <VirtualHost *:80>
  > > ServerAdmin admin.TakeThisOut@mycompany.com
<font color=green>  > > ServerName <a style='text-decoration: underline;' href="http://www.mysite.com</font" target="_blank">www.mysite.com</font</a>>
  > > ServerAlias mysite.com *.mysite.com
  > > DocumentRoot C:/www/mysite
  > > </VirtualHost>
  > >
  > > The dns info appears to be correct, a whois shows it points to my name
  > > server, and the name server points to my IP correctly. My domain people
 > tell
  > > me everything is set up correctly with the mysite.com domain and the
name
  > > server. I've tried shutting off my firewall, and my router forwards port
 > 80
  > > traffic to my server correctly. Any ideas why the <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> doesn't
  > > work? Thanks for any guesses!
  > > Steve.
  > >
  > >
 >
 > Nevermind, found it. I finally remembered to add the <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> info
to
 > the windows hosts file. Hope this helped someone else.
 >
 >

Okay, my inexperience is showing, the hosts file only lets me see it
locally, anyone else trying to view <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> still can't see it. Still
need help please.
Steve.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Virtual Host 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Virtual host and cgi Help - iam running slackware 9.0 and apache1.3 webserver. i have set up virtualhost, and have 2 domains on my server, one of my domains(mydoamin2) canīt execute cgi, the other can. I get this in my error.log "Options execCGI is off in this directory"...

Virtual host - Redhat 9.0 [root@linux bin]# ./apachectl start [Sun Aug 17 11:53:43 2003] [warn] module mod_php4.c is already added, skipping [Sun Aug 17 11:53:43 2003] [warn] module php4_module is already loaded, skipping [Sun Aug 17 11:53:43 2003] [warn] VirtualHost....

Virtual Host From PS? - Ok.. so I am running a server with a bunch of virtual hosts.. Someone on one of them is running a PHP script or CGI thats causing problems and im getting huge load spikes and sometimes even crashing the entire server requiring a hard reboot to fix it.. ...

Virtual Host problems - I am running Apache 1.3. and Freebsd 5.0. I have 1 IP with 3 virtual host I want to use. Here is the settings for virtual host in my httpd.conf NameVirtualHost * <VirtualHost *> ServerName somename.com DocumentRoot /usr/local/www/data/somename..

virtual host problem - hi all i have add a virtual host in httpd.conf when i try to visit the url from the web my.ip/sitename all images's path point to my.ip/images how can i point image path to my.ip/sitename/images without change href from ="/images" to ="...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]