aspose file tools*
The moose likes Servlets and the fly likes Virtual Host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Virtual Host" Watch "Virtual Host" New topic
Author

Virtual Host

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Everybody,
Anybody knows how to create virtual host in Apache Web Server.
regards
senthil
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
This isn't really a JDBC question. It doesn't really fit well with any of the other topics, but im my opinion it's closest to Servlets and JSPs, so I've moved it.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I ceate several virtual host in II4 server, It works pretty well
I don't know how to create virtual host in Apache Web Server. but in my opinon, you have to configue following items:
TCP/IP address
TCP port
Host header name
Becasue multiple sites( virtual hosts) can share the same ip address and tcp pot, only thing you do is that you must Register the host header name with the appropriate name resolution system (In windows NT, using WINS server in intranet)
If the computer is on the Internet, register the host header name with the Domain Name System (DNS), which is administered by InterNic.
Notice: If the browser is HTTP 1.1 compliant (for example, Internet Explorer 3.x and later, or Netscape Navigator 3.x and later), the HTTP header contains the actual domain name requested. web server uses this to determine which site should answer the request. Virtual server does not work in HTTP1.0

As long as at least one of these three items is unique for each Web site, IIS can
manage multiple sites.
When IIS receives a request for a Web page, it looks at the information sent in by
the browser. If the browser is HTTP 1.1 compliant (for example, Internet Explorer 3.x
and later, or Netscape Navigator 3.x and later), the HTTP header contains the
actual domain name requested. IIS uses this to determine which site should answer
the request.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi, ignore the prevous one

I ceate several virtual host in II4 server, It works pretty well
I don't know how to create virtual host in Apache Web Server. but in my opinon, you have to configue following items:
TCP/IP address
TCP port
Host header name
Becasue multiple sites( virtual hosts) can share the same ip address and tcp pot, only thing you do is that you must Register the host header name with the appropriate name resolution system (In windows NT, using WINS server in intranet)
If the computer is on the Internet, register the host header name with the Domain Name System (DNS), which is administered by InterNic.
Notice: If the browser is HTTP 1.1 compliant (for example, Internet Explorer 3.x and later, or Netscape Navigator 3.x and later), the HTTP header contains the actual domain name requested. web server uses this to determine which site should answer the request. Virtual server does not work in HTTP1.0

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Virtual Host