Hi,
I am trying the build and test having a single install of mojoPortal sn MS SQL on my local machine and then build muiltiple sites off it. I have read up on it and I took the Host Names approach. BUT I am unable to get any of the child sites to work nor am I able to get the localhost site to work. To get the root site to work I have to put in the following address into IE localhost\PJS_2 then it works.
I am running Windows 8 Pro with Media Center, MS SQL 2012 with management tools, mojoPortal 2.3.9.7, .NET 4.5.
I have tried to follow your instructions...
- Fresh install of mojoPortal & SQL
- Got root site working & connected to DB
- went to Administration | Site List | Create new site
- Created several new sites... (root - Phillip J Seaman / child - YachtLog Software / child - AnchorWatch / child - Mouse Pad)
- Added Host Name Mapping name to each site (www.PhillipJSeaman.com / www.YachtLogSoftware.com / www.AnchorWatch.com / www.MousePad.org )
- Added 1 host Name for each site and saved each one.
- repeated for each child site
- Added the following lines to the hosts files...
# 127.0.0.1 localhost
127.0.0.1 www.PhillipJSeaman.com
127.0.0.1 www.YachtLogSoftware.com
127.0.0.1 www.AnchorWatch.com
127.0.0.1 www.MousePad.org
If I type "localhost" into the address line of IE I get the "IIS7 Welcome" page
If I type in any of the addresses noted above I get an error...
--------------------------------------------------------------------------------------------------------------
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Most likely causes:
A default document is not configured for the requested URL, and directory browsing is not enabled on the server.
Things you can try:
If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists.
Enable directory browsing using IIS Manager.
Open IIS Manager.
In the Features view, double-click Directory Browsing.
On the Directory Browsing page, in the Actions pane, click Enable.
Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file.
Detailed Error Information:
Module DirectoryListingModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x00000000
Requested URL http://www.yachtlogsoftware.com:80/
Physical Path C:\Users\Phill\Documents\My Web Sites
Logon Method Anonymous
Logon User Anonymous
More Information:
This error occurs when a document is not specified in the URL, no default document is specified for the Web site or application, and directory listing is not enabled for the Web site or application. This setting may be disabled on purpose to secure the contents of the server.
View more information »
-------------------------------------------------------------------------------------------------------------
I made sure I was in Admin mode whan I made the changes to the hosts file.
I watched the video. But still get the error..
What the heck am I missing or doing wrong?
Phillip