Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Domains show paths in URLS

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#DomainPaths or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/DomainPaths


When hosting more than one web domain on a server, it is preferred if the main page does not show the path name.





The solution is to enter the slash before the path name in the Home URL field of the virtual host or virtual server document.

 

eg

for http://adfos.com    put in   "/af/adfos.nsf" instead of "af/adfos.nsf"

or for

http://www.adfos.com  put in "/af/adfos.nsf" instead of "ad/adfos.nsf"

 

this has the added bonus of allowing # marks through into the domain name so you can neatly have different access points into the website:

eg:

http://www.notesninjas.com/#Sales  and http://www.notesninjas.com/#DomainPaths

These can be processed by javascript on the page loader.

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Lotus Notes 5 All-in-one Certification Exam Guide by Libby Schwarz, Ben Malekzadeh
Sort out your CLP with this book.
See at: Amazon.co.uk | Amazon.com |