Category Archives: acquia

Problems with DNS Records working between Hostgator and Acquia Hosting

I have a Drupal 7 site that was originally hosted on a host gator reseller plan. The site was fairly successful and outgrew what hostgator could offer so we transitioned to Acquia.

Unfortunately Acquia does not offer Email hosting with it's service, so we are keeping the legacy email service on Hostgator. To do that we initially set the DNS A record to point to the AWS instance on Acquia. However that completely stops any email from being received.

I troubleshooted the issue with Acquia and we now had a www. CNAME record for the site pointing to the acquia servers and the .htaccess file on the server making sure all of the traffic goes to the https://www version of the site as follows:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^website\.com$ [OR]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://www.website.com/$1 [L,R=301,NC]

This solves the email problem, but as of recently created a new and interesting one. The site is SSL encrypted. Initially the SSL Cert was through Hostgator and we moved it onto Acquia. That worked fine because the cert was on both servers. NOW the Certificate is directly through Comodo. Hostgator does not give us the controls to install that certificate onto our environment.

https://www, www, or just domain.com all works fine and goes to the aquia hosted solution. However when a user goes to the https:// version of the site without the www.,it takes them to a page that says this:

Your connection is not private

Attackers might be trying to steal your information from cdefasteners.com     
(for example, passwords, messages, or credit cards). 
NET::ERR_CERT_DATE_INVALID

This is VERY bad for business. I'm working with Acquia and hostgator to find solutions, but I wanted to ask the Stack community also. Is there a better way to step through this problem so that Hostgator STILL gets the emails and users never see this message. Some way to better set up the DNS records and the .htaccess files that have a good solution. I am by no means a server admin and any help would be appreciated.

500 internal server error on drupal admin pages when adding a custom theme

I am trying to accomplish adding a custom theme to a drupal installation. Here is what I am doing and here is what I have tried:

  1. I am downloading an instance of drupal 7 using acquia devdesktop.
  2. I am using either php version 5.5 or 5.6.19 (both versions still get me the same error eventually.
  3. I then navigate to sites/all/themes/ and create a new theme. In my case the folder is called homesite. I then add the files: -homesite.info -screenshot.png

And then here is when it gets a little tricky. I am able to see my new theme under the appearance tab in the drupal admin UI. I am able to enable my theme after clearing the cache. I am even able to add a page.tpl.php and start to see my theme come to life. But when i start adding more files - like html.tpl.php I immediately start getting a 500 insternal server error on the admin pages only. Sometimes i am not even able to add a page.tpl.php file before this starts happening.

After i start getting this error, i am no longer able to see any updates on any of the files take hold, but only once I start getting this error.

This tends to make me believe it is a memory limit issue, but when i change the memory limit in php.ini, I then only get a white screen on all urls.

I have tried uncommenting lines in the .htaccess file like 'RewriteBase /' and so on and so forth to no avail.

Dev Desktop SSL connection error

I am currently using Dev Desktop as my local development environment. Everything as working perfectly until I inputted the ssl code snippet into my ht access file which is needed to make the site https.

# Redirect HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301

]

Now when I try to open my local site I recieve the following error:

SSL connection error
Hide details
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error code: ERR_SSL_PROTOCOL_ERROR

Does anyone know how to fix this? thank you.

Kind Regards, Aisling