Print Page | Close Window

Access forum via sub domain

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=28508
Printed Date: 01 April 2026 at 9:11pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Access forum via sub domain
Posted By: aladin11
Subject: Access forum via sub domain
Date Posted: 12 April 2010 at 3:11pm
I notice that if you access WWF via http://www.mydomain.com/forum/ and sub-domain http://forum.mydomain.com/, you'll likely get different results in active users list
Ex:
http://www.lapdanceriders.com/forum/
http://forum.lapdanceriders.com/
Any ideas?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 12 April 2010 at 3:38pm
It all depends on how you have the websites setup in IIS.

If you have them setup as two separate websites then they will use different application for each website and so will show different results in the active users list which uses application variable to work.

If you setup the second domain name to point to the same IIS website they will both share the same application and this show the same results.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aladin11
Date Posted: 12 April 2010 at 5:36pm
Thanks Bruce,
For example, I want my users can access forum via the main domain: http://www.mydomain.com/forum/default.asp and sub-domain: http://forum.mydomain.com/default.asp
Is there any way that I can point both to the same IIS Website?

I wonder why WWF can only access via http://forums.webwiz.net not http://forums.webwiz.net/


Posted By: WebWiz-Bruce
Date Posted: 12 April 2010 at 5:53pm
I would suggest only having one domain point to your forum, otherwise Google will mark you down and members who receive post notification may find that they need to keep logging back in if they use a different domain to that in the post notifications.

When you create a website in IIS you can add bindings. However one of your domains is a folder in a website and the other a forum, so you would not be able to set this up as a single IIS web site for the forum.

You ask why this forum can not be accessed through www.webwiz.net/forums/, thats because this forum is setup as it's own website. This is how sub domains should be setup but some web hosts simply point the sub domain at a folder on your main website. It sounds like this is the setup that you are using.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aladin11
Date Posted: 13 April 2010 at 12:37pm
I understand your points, but I still cannot figure out how to set it up in IIS 6. I want my forum can only access via: http://forum.mydomain.com, like this forum.
I create:
- A "main website", Home directory point to C:\Inetpub\wwwroot, Host header: www.mydomain.com, mydomain.com
- A "forum website", Home directory point to C:\Inetpub\wwwroot\forum\, Host header: forum.mydomain.com
- In DNS domain settings, there are 3 A (Address) records: www, @, forum point to this server IP.

Now I can access my forum via both: http://www.mydomain.com/forum/, http://forum.mydomain.com that I don't want to. What's wrong with my settings?



Posted By: WebWiz-Bruce
Date Posted: 13 April 2010 at 1:00pm
The problem is all to do with the way you have your directories setup. You do not need to use the inetpub\wwwroot directory for websites, IIS just sets this directory up for the default website.

At the moment you have your main website pointing to wwwroot and your sub domain pointing at a sub folder off wwwroot.

You need to place the sub domain in it's own folder and not a sub folder.

For example you may use:-

Main website
c:\HostingSpaces\mydomain.com\wwwroot

Sub domain
c:\HostingSpaces\forum.mydomain.com\wwwroot

Thus placing both webites in completely different and separate folders.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net