Manage Portals under Windows XP

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
7/9/2005 1:33:20 PM
Total Posts 73

Manage Portals under Windows XP


Idevelop my applications in Windows XP. I created a new site within mojoPortal. Then I started inetmgr and tried to add a new web site. This choice is not available in Windows XP. So I created a new Virtual Map, made it point to the web directory of mojoportal and made inetmgr change it into a web application named RBSM. In mojoportal I changed the hostname into localhost/RBMS. When I browse to localhost/mojoportal the menu of the RBMS application is shown. Same happens when I browse to localhost/RBMS. I cannot get to the mojoportal pages anymore.

What am I doing wrong here?



7/9/2005 3:55:51 PM
Total Posts 18439

Re: Manage Portals under Windows XP

The problem is that in both cases the hostname is localhost so there is no difference between the sites in terms of host name.

What you can do is open the hosts file c:\Windows\System32\Drivers\etc\hosts with a text editor
and add a new host name it can be named anything myhost

you will notice in that file there is already a mapping for localhost

then if you create a new site in mojoportal using myhost for the hostname you will have 2 sites

the name localhost is used by convention but it is entirely arbitrary other than that it could be anything.
Host Names are mapped to ip addresses by DNS servers or in your hosts file

Virtual Directories in IIS is just a way to create an application boundary

the mojoportal part is not part of the hostname and it makes no sense to add a hostname in mojoportal like localhost/RBMS as that is not a valid host name, localhost is still the host and the virtual directory you created in IIS defines an application boundary at localhost/RBMS just like mojoportal is an application boundary in localhost/mojoportal but since the host name is the same it is not 2 sites in mojoportal. The hostname has to be different.
Note also that in terms of web server configuration there is normally an application boundary at the root site which corresponds to a host name like
http://localhost or

Simply adding another folder level like http://localhost/somefolder or does not create an application boundary at somefolder, it is the process of creating a Virtual Directory in IIS that sets up the application boundary (or in apache this is done through the config files)

So in http:/localhost/mojoportal, the mojoportal part has an application boundary because of the IIS Virtual Directory. When you created a new Virtual Directory RBMS you also created an application boundary at http://localhost/RBMS but it did not create a new host name mapping so it did not result in a new site in mojoPortal.

Hope that helps, let me know if you need more help.


You must sign in to post in the forums. This thread is closed to new posts.