Archive for the ‘Hosting’ Category

H-Sphere 3.1 CP Custom Templates & mod_rewrites

Saturday, July 12th, 2008

Custom Templates
In the process of upgrading to H-Sphere to version 3.1, we decided to correctly handle the custom templates. Unfortunately, the documentation (available here), doesn’t have the correct information on how to run the configuration. After some digging, we found the right binary to run! So, to do the custom templates, follow the instructions until it mentions the ‘apache_restart’ command. Since that doesn’t exist, run the following:

/hsphere/local/home/cpanel/apache/bin/conf_httpdcp

And then restart the httpdcp apache instance:

/etc/init.d/httpdcp restartapache

And there you have it - a custom config. Hopefully it will stay over the next reboot.

mod_rewrites
We also wanted to handle the mod_rewrite rules in our custom config, so it would redirect to port 443 for the typical other ports opened on the cp (we have 80, 8080, and 8443 open to accommodate some of our customers, and it’s just convenient). Here are the additional rules we add:

<VirtualHost _default_:80>
      RewriteEngine on
      RewriteCond ${HTTPS} !on
      RewriteRule ^/(.*)$ https://cp.htgwebhome.com:443 [R=permanent,L]
</VirtualHost>

<VirtualHost _default_:8080>
      RewriteEngine on
      RewriteCond ${HTTPS} !on
      RewriteRule ^/(.*)$ https://cp.htgwebhome.com:443 [R=permanent,L]
      RewriteCond ${SERVER_PORT} !^443$
      RewriteRule ^/(.*)$ https://cp.htgwebhome.com:443 [R=permanent,L]
</VirtualHost>

We wrestled with getting port 8443 to redirect, and never succeeded, and we’re okay with that. The rules seem weird, but that’s what got it to work for us, so we kept them!

H-Sphere Emergency Update

Saturday, March 1st, 2008

Last night we upgraded the version of H-Sphere to version 3.0P9. We were alerted by the company which makes the control panel software that there were some critical security patches in this version, and all users were strongly encouraged to update as soon as possible. There were a few moments when the server was unavailable, and we apologize for the inconvenience. Everything should be back up and running as normal.

Minimal Unix Hosting Plan

Saturday, September 30th, 2006

To meet the needs of non-profits and other groups on a budget, we introduce the Minimal Unix Hosting Plan. For $5 a month you get 100Mb of storage, 15Gb of bandwidth and all of the benefits of the Basic Unix Hosting Plan. 100Mb of storage doesn’t sound like a lot, but you might be surprised with just how much you can fit in that amount of space. Check out the Plans Page for a more complete list of the features offered by this and all of our plans!

Up and Running

Friday, September 22nd, 2006

That’s right everyone, HTG is opening its servers for hosting. It’s been a long road to get here, but we wanted to make sure that we could offer nothing but the best to our customers. Yeah, it sounds hokey, but it’s true. So what is HTG? Well, that can’t really be answered in one sentence and will be posted soon under the “About” section.

However, I can tell you about our new hosting plans that we offer. At HTG, we’ve been around the block once or twice … or 50 times with hosting at other providers and think that we’ve come up with a solution that really offers what people need. Most hosting plans are complex, have restrictions on what you can do with them, what’s included, and what is line-item charged out the rear. We take a slightly different approach. We offer you space, bandwidth, and the tools you need to manage your website. Want to host 20 domains instead of just 1? No problem, there’s no extra charge. Need a new sub-domain for each one of your employees to develop on? Have as many as you like. Have no need for a website and just want a veritable-ton of email addresses and email lists? We can do that too. For more information, check out our hosting plans available on the right hand side under “Pages” or by clicking this link. It’s your space, do what you want with it.