Results 1 to 10 of 10

Thread: Setting Up Sub Domain

  1. #1
    Join Date
    Nov 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Setting Up Sub Domain

    I have set up a subdomain for testing of a live site, but came to use it today and guess what it will not work, is there any instructions on what need to be uploaded to were.

    domain name freetolook.co.uk
    subdomain name sirs2hers

    i have published all files from visual studio to the sub directory sirs2hers on freetolook.

    do i need web.config file and bin files on the root of freetolook aswell.

    I thought you could have a number of sub domains and each referenced there own config files, this is my end goal for testing of site before sending to live location.

    Thanks in advance

    Steve

  2. #2
    Join Date
    Mar 2005
    Location
    Hampshire
    Posts
    432
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Default

    I think that if you access it via subdomain.domain.etx then you do not need them in your root folder. However, if you access the sub domain via domain.etx/subdomain (the subdomain is also a sub folder of your site) then you are best making the sub folder a virtual folder.

    Hope this helps, my brain is not working this morning

    Just chill

  3. #3
    Join Date
    Jan 2006
    Location
    Ireland
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Just a DLL problem

    Hi,

    In my experience you can have independent subdomains. I see that you are using the AjaxControlToolkit. Are you sure you have the assembly in your /Bin folder? There you should have:

    AjaxControlToolkit.dll
    AjaxControlToolkit.dll.refresh
    AjaxControlToolkit.pdb (as is usually built in debug mode)
    AJAXExtensionsToolbox.dll
    AJAXExtensionsToolbox.dll.refresh

    Cheers
    Pino

  4. #4
    Join Date
    Nov 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default FROM Steve

    pino & tanzy thanks for the fast replies, have set up virtual directory as indicated, also just published site in visual studio and uploading all to test area as i type, will let you know how it goes

    thanks

    Steve

  5. #5
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by MrShrek View Post
    do i need web.config file and bin files on the root of freetolook aswell
    Yes you do - sub domains are entirely seperate sites/applications in IIS, therefore they will not "see" the files that you have at root.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  6. #6
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by pino View Post
    I see that you are using the AjaxControlToolkit. Are you sure you have the assembly in your /Bin folder?
    If you are using Microsoft ASP.NET 2.0 Ajax Extensions 1.0 then you should need these assemblines in the bin folder (dont think it would even work with them in the bin folder) - as they are already installed in the GAC.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  7. #7
    Join Date
    Nov 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default FROM Steve

    have managed to access the site after setting up virtual directory thanks Tanzy.

    When I accees a page with Ajax control on i get try

    http://www.sirs2hers.freetolook.co.uk/horoscopes/

    this works fine on local machine but not on redfox

    Parser Error Message: Unknown server tag 'asp:ScriptManager'.

    I have looked on my m,achine ALL DRIVES for the files AJAXExtensionsToolbox.dll
    AJAXExtensionsToolbox.dll.refresh and can not find them.


    Help

    Thanks

    Steve




  8. #8
    Join Date
    Nov 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Answer To Warren

    warren i am using Microsoft ASP.NET 2.0 Ajax Extensions 1.0 and have checked and yes they are installed in the GAC as you indicated.

    but still does not work

    Steve

  9. #9
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Remove the Ajax assemblies from the bin folder, you dont need them.

    Make sure your application is compiled against the public stable release of Ajax Extensions - not an earlier beta release. The core ASP.NET AJAX assembly has been changed from Microsoft.Web.Extensions.dll to System.Web.Extensions.dll. In addition, the namespace has changed from Microsoft.Web.* to System.Web.*.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  10. #10
    Join Date
    Nov 2006
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Working !!!!!

    Got it working, not sure how and why but heres what I did,

    Created an Ajax enable Web Site, copied all of the files from current website project except the wb.config, made changes to the web.config, uploaded and now it seems to be working.

    BTW the site that was not working, had Ajax added to it a few days ago, probably done something wrong then

    If any one has any devine intuition or an explanation of what I may have fixed please let me know.

    Thanks

    Steve

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Setting default pages in helm
    By jordan in forum Technical Support
    Replies: 1
    Last Post: 11th June 2006, 10:25 PM
  2. Setting up PHP on a windows server
    By Spire in forum PHP
    Replies: 6
    Last Post: 4th May 2006, 12:59 PM
  3. Domain Alias for a Sub Domain
    By dv8host in forum Technical Support
    Replies: 3
    Last Post: 23rd June 2005, 03:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •