Need to direct to new ip address

Permalink
Hi,
I already installed Concrete 5 using Hostmonster/BlueHost for multiple websites. I do love it; so, now I'm trying to use it to create a website that is running through Yahoo. The problem is I need to leave Yahoo up while creating the site; so, I know I can't change the nameservers while I'm working on it. This is causing an issue because it is automatically directing me to the actual domain instead of a temporary file. I talked to Hostmonster and they said I needed to figure out how to change the redirect file to go the IP address they gave me. I am currently waiting on an email from concrete 5; so, I thought I would see if I can get helped faster through this forum. Any help is greatly appreciated. Thanks!

 
ntgross replied on at Permalink Reply
ntgross
Did you ever get this sorted out. You will probably need to edit the C5 config fail and specify the temporary address.
teetime replied on at Permalink Reply
I have this exact same problem and am unable to figure it out. I have changed my domain name to my temporary ip address in site.php, but it makes no difference. But the only way I know to start C5 is via the link to my domain, so it would never really see site.php. Is there a way to invoke C5 directly, and then tell it which site (IP address) to edit?
TooqInc replied on at Permalink Reply
TooqInc
I'm not sure from the post, but if I understand correctly, you have a live site in place that you don't want to remove just yet and you have a Concrete5 installation under development under the same domain name but a separate IP address from the live site.

If this is the case, you can edit your hosts file (at least if you're using a Windows machine. Not sure about Mac or Linux equivalents).

From at least Vista forward, you can't edit the hosts file with running as an Admin. The easiest way to do this is to open notepad as an administrator and then using the file menu, open the hosts file. The path to the host file is C:\Windows\System32\drivers\etc where 'C:' is your main drive.

Open the hosts file in notepad and add the entry as follows:
102.54.94.97 [tab*] rhino.acme.com [tab*] # source server

*press the tab key, don't type the brackets or the word tab.

The third column is not required, but you need to provide the IP of where your development site is and the domain name the site is being developed under. Save the file and you should be able to reach the site in your browser now. Just be sure to change it back when you're ready to launch the site.

Sure hope that solves it for you (and that I understood the issue correctly).
teetime replied on at Permalink Reply
Your suggestions on the host file are useful. My basic problem was that I wasn't forming the ip address properly - bluehost helped me with that and now I am up and editing.

thanks, jerry