Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Scott 14 posts 35 karma points
    Feb 12, 2010 @ 13:24
    Scott
    0

    Moving site to a subdomain

    Hi guy,

    I need to move my umbraco site to a subdomain.

    I set up a cname in DNS and created the host header in IIS and pointed the record to my site.

    For some reason everytime I vist the site through the subdomain it takes me straight to the login page (I think its trying to install again), however when I login I get the error "

    Object reference not set to an instance of an object."

     

    any help is much appreciated.

    Thanks

    Scott

  • Chris Koiak 700 posts 2626 karma points
    Feb 12, 2010 @ 14:59
    Chris Koiak
    0

    Hi Scott,

    Welcome to the forum.

    Can you post the full error that you are seeing?Can you also confirm that the domain name is resolving to the correct IP address?

    If you are only running this site from umbraco then I would remove any hostnames you have setup in Umbraco.

    Also, you have no need for the /install directory after installation. You can delete this.

    Cheers,

    Chris

  • Morten Christensen 596 posts 2773 karma points admin hq c-trib
    Feb 12, 2010 @ 20:19
    Morten Christensen
    0

    It is my experience that if you can see the login page, but get the "Object reference not set to an instance of an object"-error there is a problem connecting to the database. So might be an idea to double check your connectionstring.

    And as Chris mentioned, please post the stack trace ;)

    - Morten

  • Scott 14 posts 35 karma points
    Mar 02, 2010 @ 11:08
    Scott
    0

    Looks like you were absolutely correct and this has now fixed my problem - thanks :)

Please Sign in or register to post replies

Write your reply to:

Draft