Changing from IP address and Updating Program URL
13 posts by 3 authors in: Forums > CMS Builder
Last Post: March 17, 2015 (RSS)
By Twocans - March 17, 2015
Hello,
I have been working on a site with its IP address. Now I want to use the domain name.
I login into the Admin > General Settings using the IP
I get to the general settings page.
Where ever was the IP address before I have pasted the domain name.
The only problem is.
In Admin >>>>>> General Settings Directories & URLs >>>>> Program Url
I past my domain name over the ip address in Program Url and click save only for it not to be saved.
Can anyone tell me as to how I can change it from the IP address please.
regards
Kenny
By Damon - March 17, 2015
Hi Kenny,
If you are changing any of the options in the Admin > General Settings and the changes are not saving, check that that the file permissions are set to writable (CHMOD 777) for the /data/settings.dat.php file.
Let me know if that fixes it.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By Twocans - March 17, 2015
Hummmm I have search around for it
/data/settings.dat.php
but even did checks online as to where hostgator has it in its control panel haha but all i see is many other peoples queries about the same kind of issue with interactivetools but not message as to where /data/settings.dat.php is for me to change the permissions.
K
By Damon - March 17, 2015
Sorry I wasn't more clear.
Connect to your site via FTP with your FTP software. Go to the folder that you have CMS Builder installed in. Probably /cmsb/ or /cmsAdmin/.
Inside this folder you will find the /data/ folder and in this folder will be the settings.dat.php file. Right click on the setting.dat.php file and set the CHMOD settings to 777.
This should fix the issue. If it doesn't, can you send in a support request so we can take a look:
https://www.interactivetools.com/support/email_support_form.php?priority=free
Thanks!
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By Twocans - March 17, 2015
I was having a read of this as well
http://support.hostgator.com/articles/cpanel/how-to-change-permissions-chmod-of-a-file
HostGator does not allow 777 on files which process server-side (i.e. PHP). However, many scripts require you to change your files to 777.
k
By Twocans - March 17, 2015
I would never have looked in there for it as I thought it would be else where. Any way I did change the permissions tried it but no it didnt work. I also tried changing the permission on the /data/ folder as well same time but that didnt work either.
I will email support as you mentioned.
Regards
kenny
By Damon - March 17, 2015
HostGator does not allow 777 on files which process server-side (i.e. PHP). However, many scripts require you to change your files to 777.
No problem. Try CHMOD 755.
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
By Twocans - March 17, 2015
Hi yea
I tried that also and it didn't work thus I sent the support email.
Now its saint Patricks day and I am popping out for a quick pint.
cheers
K
By Dave - March 17, 2015 - edited: March 17, 2015
Hi twocans,
There's some code that auto-detects program url changes and updates it automatically. Is the /path/ after the ip or domain different for each install? And can you try accessing the admin menu from the domain? See if it auto updates when accessed from the domain or lets you save it there.
I suspect what's happening is you are manually updating it, it's detecting the URL it's being accessed on isn't the one you entered and it's auto updating itself back to the correct one.
Let me know how it goes!
interactivetools.com
By Twocans - March 17, 2015
David Hello and Good Evening
This was the previous settings
Now I wanted to change it over to the http://www.mydomain.com
cheers
Kenny