Zen Cart Logo
Forums / Basic Configuration / Major DNS issue - can I edit a config script as a work around?

Major DNS issue - can I edit a config script as a work around?

Locked

Views: 1,262

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Sep 2009, 8:38 PM
#1
abbott avatar

abbott

New Zenner

Join Date:
Sep 2009
Posts:
4
Plugin Contributions:
0

Major DNS issue - can I edit a config script as a work around?

Hi, complete newbie here, I've had zen-cart installed on our club website

http://65.60.41.130/~kentgli1/zen-cart/

I have a DNS issue. Currently DNS points http traffic to our broadband & email provider plusnet.

I have a simple redirect page hosted there as they don't support php.

The website is hosted by justhost and accessed via

https://www.kent-gliding-club.co.uk

(using the redirect page successfully).

I can access the cart as in para 1 above, but note I have to use the IP address.

I can access the admin login page using

http://65.60.41.130/~kentgli1/zen-cart/admin/login.php

However, when I enter the correct login & password, an unknown script attempts to load this page (which tries to pass via the redirect)
http://kent-gliding-club.co.uk/zen-cart/admin/login.php

So the issue appears to be that a script is not able to detect & pickup the IP address.

Q - is there somewhere simple where I can edit a configuration and force the cart to use the IP as above & not attempt to resolve the domain via DNS?

Any help and / or advice very very much appreciated.

By the way, I'm a Unix admin so happy to edit scripts, I just don't know php :-)

Replies to my email would be cool

dpye AT tcs-uk.com
or
szd55pilot AT googlemail.com

Thanks experts
Dave

6 Sep 2009, 2:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Major DNS issue - can I edit a config script as a work around?

I have a DNS issue. Currently DNS points http traffic to our broadband & email provider plusnet.
Not sure of all your configurations but if for email only as stated...
edit your mx record to point to the email provider and an "A" record to point to where ZenCart is hosted

7 Sep 2009, 11:20 AM
#3
abbott avatar

abbott

New Zenner

Join Date:
Sep 2009
Posts:
4
Plugin Contributions:
0

Re: Major DNS issue - can I edit a config script as a work around?

Yeah, thanks Cobra, I reckon this is the techie solution but our ISP won't allow seperate records so I was hoping for a script editing solution, any ideas???

Dave

7 Sep 2009, 8:42 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Major DNS issue - can I edit a config script as a work around?

Should be able to do this at your registrar for kent-gliding-club.co.uk

7 Sep 2009, 9:00 PM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Major DNS issue - can I edit a config script as a work around?

If you have a Hosting account, why are you using your account with your ISP for DNS? Would be much better / easier all the way around to just use your Hosting account; for everything.