Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Access forum via sub domain
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Access forum via sub domain

 Post Reply Post Reply
Author
aladin11 View Drop Down
Groupie
Groupie


Joined: 10 October 2009
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote aladin11 Quote  Post ReplyReply Direct Link To This Post Topic: Access forum via sub domain
    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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
aladin11 View Drop Down
Groupie
Groupie


Joined: 10 October 2009
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote aladin11 Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
aladin11 View Drop Down
Groupie
Groupie


Joined: 10 October 2009
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote aladin11 Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.