Changing base URL

Permalink
i installed concrete 5 in a directory called concrete5 in the root of my server using a temporary domain name as the base url.

i have created the site and now wanted to have a different domain point to the installation.

i assumed that I just changed the base url in the site config but that did not work then I added the code

define('REDIRECT_TO_BASE_URL', false);

and changed the base url back to the temp domain - still no joy

however when I changed the DIR REL in site.php from

define('DIR_REL', '/Concrete5');


to
define('DIR_REL', '');


It works fine the new domain loads the site but I cant edit the site as I get this error message below when I go to edit a page

*******
Multiple Choices

The document name you requested (/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.
*******

Now if I try and load the site from the base url

www.www.tempdomain.com/concrete5...

I get this error message

****
Concrete CMS
Page Not Found
No page could be found at this address.
********


I have read a lot of posts and i am obviously missing something simple here.

Any thoughts?

Thanks
Philip

PhilYoung