- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Question about virtual hosts on Apache 1.3...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 07:28 AM
тАО03-24-2004 07:28 AM
My system runs Apache (aka CSWS) 1.3, and is (via a firewall) continously connected to the Internet.
In DNS at my ISP, "www.domain.tld" refers to my FW's outside NIC (aaa.bbb.ccc.ddd, and this translates all http-traffic (port 80) to my Alpha (having a public (non-routed) address.
I have a second 'web' "anotherweb.domain.tlb" defined, it is in DNS as wel, and also referring my (outside) IP address. Still on port 80, I assumed having this defined as a
However, is doesn't work as I expected.
"http://www.domain.tld" shows my 'normal' webpage (what I wanted), but so does http://anotherweb.domain.tlb, which should be VERY different.
Both webs are to be accessed by port 80, so a different port is not an option (at least, if avoidable).
I know it must be possible but somewhere I lost track.
If you need a part of httpd.conf (at least, part of it), tell me which part and I'll attach it.
Willem
OpenVMS Developer & System Manager
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 05:34 PM
тАО03-24-2004 05:34 PM
Re: Question about virtual hosts on Apache 1.3...
could you post your httpd.conf file?
Regards
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2004 06:06 PM
тАО03-24-2004 06:06 PM
Re: Question about virtual hosts on Apache 1.3...
Regards
Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 06:15 PM
тАО03-25-2004 06:15 PM
Re: Question about virtual hosts on Apache 1.3...
There is a third web mentioned, but that will be started using a specific port so I can transfer control directly in the firewall.
Another matter - related to this question
I know this won't work if SSL is enabled. If I t to use the same (single IP-address, single port) approach, how to confure that? (MOD_SSL will be inserted before the virtual hosts (as Alan Winstoin suggests))
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 08:24 PM
тАО03-25-2004 08:24 PM
Re: Question about virtual hosts on Apache 1.3...
remove the webx.domand.tld entry from the VirtualHost directive and try:
...
...
Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 09:00 PM
тАО03-25-2004 09:00 PM
Re: Question about virtual hosts on Apache 1.3...
That what I originally had, but it's not what I require. For access on my LAN it's no problem to do that, but since the webs need to be accessable from outside, this doesn't seem to work.
To clearify: in DNS, all names resolve to just ONE IP-address. The firewall has no facilities to discriminate in names - so all HTTP-requests will be transferred to 192.168.0.2.
If I specify the virtual hosts like you said, the second and third are not accessable from outside since there is no path to them, so these webs will never show.
I have tried to specify 192.168.0.2 for all, but even that doesn't work properly, it's always the first web that will show up.
For what I understood from the documentation, multiple specifications are possible, for instance for internal and external access, and for named virtual hosts specification of the name in the
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2004 10:10 PM
тАО03-25-2004 10:10 PM
Re: Question about virtual hosts on Apache 1.3...
I need access to my home system, I run a similar construction on that system (DSL-Router, dyndns, all the dyndns-names are mapped to one IP-Address, multiple addresses on the VMS Box) but I'll not be back home until late.
Dieter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 08:39 PM
тАО03-28-2004 08:39 PM
Re: Question about virtual hosts on Apache 1.3...
> of the name in the
> a requirement.
That's not quite correct. The name of the virtual host (preferably specified by an IP address) is supplied with the ServerName statement inside the
See http://httpd.apache.org/docs/dns-caveats.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 09:32 PM
тАО03-28-2004 09:32 PM
Re: Question about virtual hosts on Apache 1.3...
So I do NOT need "webx.domain.tlb" in
...
...
As you will see from the previously attached file, this IS already the case. As stated before, I _need_ them to be on ONE address.
however, specifying a name in
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 10:02 PM
тАО03-28-2004 10:02 PM
Re: Question about virtual hosts on Apache 1.3...
Using DNS names in VirtualHost statements will lead to problems whenever DNS fails.
Using IP addresses without ServerNames will likewise fail in case of DNS problems, because Apache tries a Reverse Lookup then.
Plus it will not work with multihoming (i.e. multiple servers on one IP).
I see a "*" in the first VirtualHost statement of your config file that bothers me. I've no idea how Apache reacts to that.
How does VMS' TCP/IP resolve web2.domain.tld and web3.domain.tld? Try it using nslookup or dig (if present).