Home > Domino Tips > Administrator > Web > Multiple Web Sites On A Single Ip Address
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEB

Multiple Web Sites On A Single Ip Address


Stuart Peacock
04.04.2000
Rating: -3.62- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


R5 (I'm not sure if R4 allows the same thing) provides a mechanism for you to
host multiple web sites for different DNS domains on a single server under a
single IP address.

Although this is standard, supported stuff, the Domino documentation is pretty
useless.

Code

Lotus' suggested method in the documentation is to use a separate IP address
for each site, and then multihome the server. In reality this is often
impractical as address space is usually limited and some platform have limits
on the number of IP addresses supported on each network interface, so the
method below offers an alternative using only a single IP address. It isn't
really documented anywhere. The Admin manual give some hints, but doesn't point
out how to actually do it. The secret is in using a different hostname for each
virtual server.

Put your site on the server.
Whether the site is all in a single Notes database, or is a collection of Notes
databases and HTML files, I'd suggest putting the whole lot into a single
dedicated subdirectory on the server under the Domino data directory. It makes
for easier management and administration.
From Domino administrator.

On the configuration/server/current server page, click the Web button and
create a virtual server document.

Enter the Domino web server's IP address, say 192.168.1.1

Enter the hostname exactly as the site visitor would have typed it into their
browser i.e. www.website.com. This is essential, as if this is not entered or
is entered incorrectly, they will get the server's default homepage. Note: you
will probably want to create at least two virtual server documents for each
site hosted. One for www.website.com and one for website.com. If there is a
possibility that visitors will get to the default site by accident, I'd suggest
you make it a database or HTML page with links back to the various websites
hosted on your server.

If the entry point to the server is a HTML page, enter it's name in the default
home page field and ensure you clear the Home URL field on the mapping tab. Do
not enter any path to the HTML file, just its name.

On the mapping tab, enter the full relative path to the site's entry NSF file
if using one. For instance, suppose your site is entered by a NSF file called
website.nsf that you have put in the folder TransitionWeb, under the Domino
data directory, you would enter: TransitionWebwebsite.nsf/?Open
in this field. Remember to clear it if your site is entered by a HTML page.

Modify any paths in the next few fields as necessary. Chances are, the only one
to change will be the HTML directory.

Restart the Domino HTTP server task

Create a DNS entries on your DNS server that point to your new virtual
server(s). Remember that it can take 48 hours or more for DNS changes to
replicate.

You should now be able to access your new website transparently to any others
hosted on the same box and at the same address.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Web
Display SharePoint data in a Lotus Notes Web application with Ajax
Top 10 Lotus Notes/Domino administration tips of 2008
How to create a dynamic SVG graph using a Lotus Notes agent
Hosting multiple Lotus Domino servers at one IP address without a VPN
Upgrading and patching Firefox: Security considerations for administrators
Admin2005 Learning Guides
Making old, new flavors of Domino SSO work
A fun site, with serious code
Creating corporate welcome pages with Lotus Notes
Domino Web traffic analyzers

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts