locked
Site Collections Display 404 Not Found RRS feed

  • Question

  • Dear All

    I have considered our SharePoint environment to work with multiple site collections called Staff, Students and Parents and so the internal URLs look something like http://sp (for the top level site), http://sp/sites/Staff, http://sp/sites/Students, http://sp/sites/Parents. I can navigate to those pages and they work correctly.

    The people who manage our firewall have just made the necessary DNS changes to enable our long address to work with our SharePoint site so instead of the above you can use http://sp.mylongaddress.co.uk (for the top level site) and http://sp.mylongaddress.co.uk/sites/Staff etc etc. The top level site address works correctly but when I navigate to the site collections, they all show a "404 Not Found" error message.

    Please could you give me some ideas about what might be wrong? Is there something else that I should have configured for the site collections? As it's possible to reach the top-level site, I don't think it can be an issue related to the firewall.

    I would be really grateful for you ideas

    Best regards

    Daniel

    Monday, July 23, 2012 5:07 PM

Answers

  • Hi Daniel,

    If you have not already done so, you need to go into Central Admin, go to the Alternate Access Mappings configuration screen (under "Application Management"), and add the URL "http://sp.mylongaddress.co.uk" to one of the additional zone (Intranet, Extranet, etc) fields.  IIS can handle the connection to the root site, but without this information added, SharePoint cannot properly handle the requests to your other site collections.


    Mike Dalton
    SharePoint Barista
    Rackspace Hosting
    blog: mikedalton.net
    twitter: twitter.com/mikeelliot

    • Proposed as answer by Troy Lanphier Monday, July 23, 2012 8:58 PM
    • Marked as answer by djs25uk Tuesday, July 24, 2012 5:35 PM
    Monday, July 23, 2012 8:29 PM

All replies

  • Hi Daniel,

    If you have not already done so, you need to go into Central Admin, go to the Alternate Access Mappings configuration screen (under "Application Management"), and add the URL "http://sp.mylongaddress.co.uk" to one of the additional zone (Intranet, Extranet, etc) fields.  IIS can handle the connection to the root site, but without this information added, SharePoint cannot properly handle the requests to your other site collections.


    Mike Dalton
    SharePoint Barista
    Rackspace Hosting
    blog: mikedalton.net
    twitter: twitter.com/mikeelliot

    • Proposed as answer by Troy Lanphier Monday, July 23, 2012 8:58 PM
    • Marked as answer by djs25uk Tuesday, July 24, 2012 5:35 PM
    Monday, July 23, 2012 8:29 PM
  • Hi Mike

    Thank you very much! Now you prompted me, I do remember doing that in SP2007. Very grateful for your help!

    Daniel

    Tuesday, July 24, 2012 5:36 PM
  • Hi Dan,

    Have come across exactly the same situation

    But does not work in my case

    My external url is https and the web applicaiton is on port 80

    Can you help please

    Thanks,

    Reza

    Friday, October 9, 2015 7:12 PM
  • I was working with my sharepoint 2013 and stuck on the same thing when ever i access it from VPN top level site is easily accessed by sub-site shows 404 not found by your solution my sites started working.. Thanks Alot :)
    Thursday, November 2, 2017 5:49 AM