Forums / General Questions / Moved to new Server and now Template doesn't want to load

Moved to new Server and now Template doesn't want to load

Started by wulf359 on 10 Mar 2015, 10:42 PM · Views: 1,227

Results 1 to 9 of 9
10 Mar 2015, 10:42 PM
#1
wulf359 avatar

wulf359

New Zenner

Join Date:
Feb 2008
Posts:
44
Plugin Contributions:
0

Moved to new Server and now Template doesn't want to load

I've looked over the forums repeatedly and just not sure if I'm wording it wrong or what.

The problem:

I recently got a VPS server with Mochahost and moved a couple of sites over to it using the WHM account move function, everything moved over without a problem but when I go to the site it doesn't load the template. I can view the site via the temp/demo link in the WHM and it loads perfectly.

Live Site: http://www.valhalla-computers.biz
and
Demo: http://198.38.90.120/~wulf359/

It's been several days and I'm pretty sure it's not a DNS issue but I'm going insane as I have several other sites I need to get moved over but won't move them until I can get this sorted. Their techs don't seem to know anything either and said to just make sure I use the domain name in the configuration file, which duh......

I also get this problem on a fresh install

Any help/advice would be greatly appreciated.

10 Mar 2015, 10:46 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Moved to new Server and now Template doesn't want to load

There are several reasons:

  1. Your /includes/configure.php has the HTTP_SERVER defined as "https://valhalla-computers.biz/" instead of "http://www.valhalla-computers.biz"

  2. The SSL certificate for your server is registered to canadawinelabels.ca so is failing validation. Thus all your image/stylesheet assets are failing to load. Hence the lack of template styling appearing on your site.

Fix both of those and your site will work better.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Mar 2015, 5:10 AM
#3
wulf359 avatar

wulf359

New Zenner

Join Date:
Feb 2008
Posts:
44
Plugin Contributions:
0

Re: Moved to new Server and now Template doesn't want to load

That did the trick, thank you so much

11 Mar 2015, 11:48 AM
#4
wulf359 avatar

wulf359

New Zenner

Join Date:
Feb 2008
Posts:
44
Plugin Contributions:
0

Re: Moved to new Server and now Template doesn't want to load

Spoke too soon, I made the changes and it worked for a few minutes then went right back to what it wasn't doing before.... makes me think more about a the DNS

11 Mar 2015, 12:49 PM
#5
wulf359 avatar

wulf359

New Zenner

Join Date:
Feb 2008
Posts:
44
Plugin Contributions:
0

Re: Moved to new Server and now Template doesn't want to load

Ok, so I've found the problem and no matter what I do or fix it's not going to work because the host doesn't want it to.

I signed up with Mochahost http://mochahost.com last week, paid immediately with paypal and had problems from the start. Today I cancelled my services with them and asked for a refund and was referred to their terms of service which immediately raises red flag because almost all of it is in regards to refunds and cancellation of services.

Their tech staff was very condescending, did not offer and valuable or constructive input, and gave me the general impression they don't know what they're doing either. This morning I was told if I paid the $100 an hour fee for advanced support they could fix the problem on the server and then ZenCart would work right....

11 Mar 2015, 3:03 PM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Moved to new Server and now Template doesn't want to load

Wulf359:

makes me think more about a the DNS

Definitely a DNS setup issue.


root@sue:~# whois valhalla-computers.biz
Domain Name: VALHALLA-COMPUTERS.BIZ
Name Server: NS1.VALHALLA-COMPUTERS.BIZ
Name Server: NS2.VALHALLA-COMPUTERS.BIZ


root@sue:~# nslookup ns1.valhalla-computers.biz
Non-authoritative answer:
Name: ns1.valhalla-computers.biz
Address: 198.38.90.120


root@sue:~# **nslookup ns2.valhalla-computers.biz **
Non-authoritative answer:
Name: ns2.valhalla-computers.biz
Address: 198.38.90.120

root@sue:~# nslookup valhalla-computers.biz
** server can't find valhalla-computers.biz: SERVFAIL

root@sue:~#** nslookup @ns1.valhalla-computers.biz valhalla-computers.biz**
nslookup: couldn't get address for 'valhalla-computers.biz': not found

root@sue:~# nslookup @ns2.valhalla-computers.biz valhalla-computers.biz
nslookup: couldn't get address for 'valhalla-computers.biz': not found

Your name servers (ns1 & ns2) are working fine, but there is no 'A' record in them for 'valhalla-computers.biz'

BTW, in case you weren't aware, both nameservers have the same IP address. This leads to a single point of failure. Tis better to have the nameserver on different hosts.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

11 Mar 2015, 3:11 PM
#7
wulf359 avatar

wulf359

New Zenner

Join Date:
Feb 2008
Posts:
44
Plugin Contributions:
0

Re: Moved to new Server and now Template doesn't want to load

One more reason I am not going to be hosting my sites with them.... I had the nameservers and everything setup correctly, they went back and changed things, same with the config files on zencart. I made the changes suggested, they went back and undid them then told me they fixed the problem. Just gonna walk away

11 Mar 2015, 3:25 PM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Moved to new Server and now Template doesn't want to load

Wulf359:

One more reason I am not going to be hosting my sites with them.... I had the nameservers and everything setup correctly, they went back and changed things, same with the config files on zencart. I made the changes suggested, they went back and undid them then told me they fixed the problem. Just gonna walk away

I've just taken a look at their offerings. $7.98 per month for a VPS. As usual, you are only getting what you pay for.

BTW, with a VPS you have full and total control over the server. The hosting companys expect you to know how to configure and maintain it. If you can't do this then go for a shared host or a managed VPS.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Mar 2015, 2:28 PM
#9
enigma777 avatar

enigma777

New Zenner

Join Date:
Oct 2006
Posts:
55
Plugin Contributions:
0

Re: Moved to new Server and now Template doesn't want to load

One of the caveats of having a VPS is having to support it yourself. Even top notch companies will not provide VPS support unless you have "managed VPS" as part of the services you've purchased.