Question

Photo of David Leigh

1

Accessing Rock site from public URL redirects to Rock External Website page.

I have installed Rock 1.2 on my local server.
When I visit my Rock Site from my local network, all works as expected.

That is, if I type "http://localrock" in my browser, I am immediately redirected to the login page at "http://localrock/page/3?returnurl=%252f" and login proceeds as normal.
("localrock" is mapped in the hosts file to point to localhost, and is specified as a hostname in the IIS site bindings)

When I visit the same site from the external location "http://rock.mychurchname.com", I get the default Rock "Home | External Website" page.
("rock.mychurchname.com" is resolved correctly by the dns server and is also specified as a hostname in the IIS site bindings)
If I explicity enter the address "http://rock.mychurchname.com/page/3?returnurl=%252f", the login page is shown as expected.
However, after I enter my credentials, the login completes but I am redirected to the "Home | External Website" page again.

Can somebody please shed some light on what is wrong with my configuration?

 

  • Photo of Jeremy Turgeon

    2

    Hi David,

    Have you specified the URL you want to use in the Sites section of Rock?  This is done in Admin Tools > CMS Configuration > Sites >Rock RMS(the internal site) > Edit.  In the Domains section you'll need to type in any and all URLs you want to use for that site.

    Check out the "Designing and Building Websites Using Rock" documentation here for more information:

    http://www.rockrms.com/Rock/BookContent/14/14#creatinganewsite

    Hope that helps!

  • Photo of David Leigh

    0

    Thanks, that's what I was looking for!

    I moved the site after it was installed and running, which is why the Rock RMS setting in the Site List was incorrect.
    I had not read the "Designing and Building Websites Using Rock" documentation because we are not using Rock as a content management system, so I didn't think it was relevant to me.

    However, given that some of the CMS Configuration settings actually affect the operation of Rock RMS, perhaps it is worth referencing this in the installation guide?