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 help apache 1.3 and freeBSD

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  referrer load  
Author Message
rr1036

External


Since: Jan 21, 2004
Posts: 2



(Msg. 1) Posted: Thu Jan 22, 2004 12:46 am
Post subject: Virtual host help apache 1.3 and freeBSD
Archived from groups: alt>apache>configuration (more info?)

I have been trying to get the virtual host working on my server so far When
I type in the browser www.myshaft.com I get "Cannot find server" messagebut
when I type any of the IPs' I get the Apache confimation page too display,
this is all I have configured on my server I f something is missing or
anything additional needed would apprieciate it I have used an Apache,
2-Freebsd books and online manuals tried different example that were shown.

LAN IP : 192.168.3.8 On the server behind firewall
WAN IP : 64.171.131.252 ported to port 80 to the LAN IP

I have FreeBSD 4.9 with Apache 1.3
Server name is Dolemite
Domain name is myshaft.com

register.com has the domain to the IP to the WAN ip above
here is the hosts file:

::1 localhost.myshaft.com localhost
127.0.0.1 localhost.myshaft.com localhost
192.168.3.8 dolemite.myshaft.com dolemite
192.168.3.8 dolemite.myshaft.com.
192.168.3.8 www.myshaft.com

my httpd.conf file is setup as so:

ServerType standalone

ServerName dolemite.myshaft.com

ServerRoot "/usr/local"

Port 80

User www
Group www

DocumentRoot /usr/local/www/data

HostnameLookups on

NameVirtualHost *
<VirtualHost *:80>
ServerAdmin webmaster.RemoveThis@dolemite.myshaft.com
ServerName www.myshaft.com
DocumentRoot /usr/local/www/htdocs
</VirtualHost>

 >> Stay informed about: Virtual host help apache 1.3 and freeBSD 
Back to top
Login to vote
user2348

External


Since: Jun 28, 2003
Posts: 203



(Msg. 2) Posted: Thu Jan 22, 2004 1:00 am
Post subject: Re: Virtual host help apache 1.3 and freeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Russell A. Rivas" <rr1036.DeleteThis@pacbell.net> wrote in message
news:FqCPb.14500$rY6.14229@newssvr27.news.prodigy.com...
 > I have been trying to get the virtual host working on my server so far
When
 > I type in the browser <a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a> I get "Cannot find server"
messagebut
 > when I type any of the IPs' I get the Apache confimation page too display,
 > this is all I have configured on my server I f something is missing or
 > anything additional needed would apprieciate it I have used an Apache,
 > 2-Freebsd books and online manuals tried different example that were
shown.
 >
 > LAN IP : 192.168.3.8 On the server behind firewall
 > WAN IP : 64.171.131.252 ported to port 80 to the LAN IP

<a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a> doesn't resolve to an IP on the internet (myshaft.com does),
so you need an A record adding to the DNS for this.

As for on the lan, not sure, your hosts file looks ok. Make sure you aren't
set to use a proxy, else this request will be going out to the proxy, then
failing because the proxy can't find <a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a>

Richard.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Virtual host help apache 1.3 and freeBSD 
Back to top
Login to vote
rr1036

External


Since: Jan 21, 2004
Posts: 2



(Msg. 3) Posted: Sat Jan 24, 2004 10:41 pm
Post subject: Re: Virtual host help apache 1.3 and freeBSD [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I configured to remove proxy and the access I get is

Forbidden
You don't have permission to access / on this server.


----------------------------------------------------------------------------
----

Apache/1.3.28 Server at <a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a> Port 80

even though when I type <a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a> is it going to my server and
returning the error or do I still need the DNS resolution from outside.
Or is it being resolved from register.com when I gave them my IP.



"Richard Antony Burton" <richardaburton-NOSPAM-.RemoveThis@hotmail.com> wrote in
message news:2ECPb.6175407$Id.999640@news.easynews.com...
 >
 > "Russell A. Rivas" <rr1036.RemoveThis@pacbell.net> wrote in message
 > news:FqCPb.14500$rY6.14229@newssvr27.news.prodigy.com...
  > > I have been trying to get the virtual host working on my server so far
 > When
  > > I type in the browser <a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a> I get "Cannot find server"
 > messagebut
  > > when I type any of the IPs' I get the Apache confimation page too
display,
  > > this is all I have configured on my server I f something is missing or
  > > anything additional needed would apprieciate it I have used an Apache,
  > > 2-Freebsd books and online manuals tried different example that were
 > shown.
  > >
  > > LAN IP : 192.168.3.8 On the server behind firewall
  > > WAN IP : 64.171.131.252 ported to port 80 to the LAN IP
 >
 > <a style='text-decoration: underline;' href="http://www.myshaft.com" target="_blank">www.myshaft.com</a> doesn't resolve to an IP on the internet (myshaft.com
does),
 > so you need an A record adding to the DNS for this.
 >
 > As for on the lan, not sure, your hosts file looks ok. Make sure you
aren't
 > set to use a proxy, else this request will be going out to the proxy, then
<font color=purple> > failing because the proxy can't find <a style='text-decoration: underline;' href="http://www.myshaft.com</font" target="_blank">www.myshaft.com</font</a>>
 >
 > Richard.
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Virtual host help apache 1.3 and freeBSD 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
FreeBSD 5.1 && Apache mod_perl2 - Hi every one, I have just compiled and installed apache mod_perl2 on my system. My httpd is now reported as Apache/2.0.47 (Unix) mod_perl/1.99_09 Perl/v5.6.1 PHP/4.3.4RC1 Server at materialised.hopto.org Port 80 However, I am having trouble allowing....

Apache Name-based Virtual Host SSL - i want to set Virtual Host SSL now i can set Basic Virtual Host not SSL like www.123.com and www.456.com but i want to set https://www.123.com and https://www.456.com too . How can i do sir ? note : i has 1 ip address on 1 server computer . thank u...

apache virtual host issues - Hi, I'm trying to set up a simple virtual host in apache, but i'm having problems with it. My current setup is this. windows 2000 Apache 2.0.4 i'm using the free dyndns.org service i have a dynamic ip address i use a cable modem connected to a route...

Apache Virtual Host & TCP Rejecting - Hi. I would like to know if it would be possible to tcp reject (or drop) requests that don't have a domain name, but only an IP adress. I explain myself : I run a webserver which is accessible through two domain names : www.domain1.com & www.domain2....

apache+mod_ssl-1.3.28+2.8.15_1 - DOES NOT COMPILE on FreeB.. - I can't seem get apache13-modssl to build. Anyone else have this problem and *hopefully* a solution? Thanks Matt Other References I have found thus far (but no solution) http://lists.freebsd.org/pipermail/freebsd-ports/2003-April/000324.html ..
   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 ]