Zen Cart Logo
Forums / Installing on a Windows Server / IP Address instead of domain when accessing admin

IP Address instead of domain when accessing admin

Locked

Views: 1,639

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
21 Sep 2010, 6:25 PM
#1
zinger avatar

zinger

New Zenner

Join Date:
Sep 2010
Posts:
18
Plugin Contributions:
0

IP Address instead of domain when accessing admin

As the title suggests when i attempt to login to admin the domain changes to the ip address i used to initially configure Zen Cart.

Searching through a few posts i noticed that you can edit this in both configure.php files.

I have done this but unfortunately it still hasn't quite fixed my dilemma of the ip address displaying instead of the domain in admin.

Any help would be greatly appreciated. Thank you.

22 Sep 2010, 4:28 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: IP Address instead of domain when accessing admin

Apparently you've not successfully uploaded your edits. Remember: the files are normally set to read-only, so you have to make them writable before you can make changes.

22 Sep 2010, 4:58 AM
#3
zinger avatar

zinger

New Zenner

Join Date:
Sep 2010
Posts:
18
Plugin Contributions:
0

Re: IP Address instead of domain when accessing admin

Perhaps there is something else i am missing? As i have CHMOD to the highest setting, downloaded and edited the files. Then Re-uploaded.

So when i re-download the files the changes i have made are there.

I made sure i did this before posting as mentioned in other posts around the forums.

22 Sep 2010, 5:18 AM
#4
zinger avatar

zinger

New Zenner

Join Date:
Sep 2010
Posts:
18
Plugin Contributions:
0

Re: IP Address instead of domain when accessing admin

I mean CHMOD to lowest setting!

What i will attempt is create a new installation alongside my zen cart install and try move the config files from there. Might seem like a bit of work but if it helps then so be it :)

22 Sep 2010, 5:21 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: IP Address instead of domain when accessing admin

As far as Zen Cart is concerned, the only place to set the domain name of the store or admin is in the configure.php files.
So, I repeat: your problem is there.

Either that or you've done some custom programming of your own to write your own rewrites and force redirection to the IP address ... and I've no idea why you'd do that.

22 Sep 2010, 5:42 AM
#6
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: IP Address instead of domain when accessing admin

zinger:

Perhaps there is something else i am missing? As i have CHMOD to the highest setting, downloaded and edited the files. Then Re-uploaded.

So when i re-download the files the changes i have made are there.

I made sure i did this before posting as mentioned in other posts around the forums.

Have your tried to clear your browser cache etc after you made the changes in your configure.php files or tried to use a different (clean) browser?

22 Sep 2010, 5:42 AM
#7
zinger avatar

zinger

New Zenner

Join Date:
Sep 2010
Posts:
18
Plugin Contributions:
0

Re: IP Address instead of domain when accessing admin

DrByte:

As far as Zen Cart is concerned, the only place to set the domain name of the store or admin is in the configure.php files.
So, I repeat: your problem is there.

Either that or you've done some custom programming of your own to write your own rewrites and force redirection to the IP address ... and I've no idea why you'd do that.

I will give it another go, thank you :)

frank18:

Have your tried to clear your browser cache etc after you made the changes in your configure.php files or tried to use a different (clean) browser?

I have, now i am getting a blank page. So i think i have done something wrong.

I am now going to install another zen cart with the proper domain to make sure its done right.

22 Sep 2010, 1:54 PM
#8
rony avatar

rony

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: IP Address instead of domain when accessing admin

I also had the same problem. The problem was that my Zen Cart was pre-installed by my Web-Hosting Company. I deleted their install and did a fresh install and everything worked just fine.

3 Oct 2010, 8:03 AM
#9
zinger avatar

zinger

New Zenner

Join Date:
Sep 2010
Posts:
18
Plugin Contributions:
0

Re: IP Address instead of domain when accessing admin

Just thought that i would come back to this post and say how i went with installing a fresh copy of 1.3.9f.

Everything worked out accordingly and now points to the domain name, thanks for the help everyone! :)