Forums / Installing on a Linux/Unix Server / URL shows ip address instead of domain name

URL shows ip address instead of domain name

Locked

Started by wcws on 26 Jan 2008, 6:28 PM · Views: 16,076

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
26 Jan 2008, 6:28 PM
#1
wcws avatar

wcws

New Zenner

Join Date:
Jan 2008
Posts:
9
Plugin Contributions:
0

URL shows ip address instead of domain name

I suspect my issue was created because originally I set up the site and store on my server before changing the dns pointers for the domain, so I was accessing the site via it's ip address. Now that the dns pointers have been changed, when I go to the store: http://www.diamondsinthereef.com/store, and click on anything that takes me within the store, the URL changes to the ip address rather than the domain name.

How can I change it so the domain name displays in the URL?
thank you in advance,
Michael

Michael McKeown
Wine Country Web Services
http://www.winecountrywebservices.com

26 Jan 2008, 6:33 PM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: URL shows ip address instead of domain name

Check both configure.php files i.e.
/includes/configure.php
and
/admin/includes/configure.php
BACK UP BOTH FILES BEFORE ALTERING

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

26 Jan 2008, 6:56 PM
#3
wcws avatar

wcws

New Zenner

Join Date:
Jan 2008
Posts:
9
Plugin Contributions:
0

Re: URL shows ip address instead of domain name

Thank you. I had looked at these files, but only locally, not on the server. To make the change I had to ftp to the server, change permissions to allow write, make the change, and change the permissions back to read only.

Thank you again!
Michael

Michael McKeown
Wine Country Web Services
http://www.winecountrywebservices.com

26 Jan 2008, 6:59 PM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: URL shows ip address instead of domain name

Well done, pleased to see problem solved
:clap:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

11 Feb 2008, 7:32 PM
#5
mugyver avatar

mugyver

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

Re: URL shows ip address instead of domain name

First, thanks for all the help everyone on this board provides. I did the very same install as above, in an IP address and then assigned my domain name to the IP address. When clicking on any link in the store it shows the IP addy not the domain name. I too mucked up my configure.php files. I did have backups but then edited and saved and edited and saved until the backups were just as messed up as the regular version. I did another temporary install in a parallel folder to my "store" folder. Ftp'd down the two configure.php files and changed the database name, password, user in them to the actual ones that have the real store data. I also changed the name of the temporary install folder to the actual store folder in my configure.php files. I am getting the screen > You are seeing this page for one or more reasons: message. HELP!?