How to Install WordPress on Root Folder & Sub Folder on a Windows IIS Server at Godaddy

One of my clients uses Windows hosting on Godaddy. They wanted to host a new WordPress website on a new subdomain when a WordPress website was already installed on the their primary domain. I wasn’t familiar with Windows IIS hosting at the time (WordPress is normally hosted on Linux servers), and so gathering this information took several days and a call to Godaddy Support before I figured it all out.

Here are the 4 steps to install WordPress on a subdomain in Windows IIS in Godaddy when a WordPress installation already exists on the primary domain:

  1. Upgrade to Deluxe or Ultimate Hosting
  2. Setup the Subdomain and Subfolder
  3. Create the web.config file in the Subdirectory
  4. Install WordPress Like Normal

Godaddy Hosting Control Panel

1. Upgrade to Deluxe or Ultimate Hosting

Because they used Godaddy, they first had to upgrade to a deluxe hosting package as the base, “Economy” hosting plan does not allow you to host websites on subdomains. An upgrade was an extra $2 a month. Thanks to Chip O’Toole for this tip.

2. Setup the Subdomain and Subfolder

In Godaddy, this is done in the hosting control panel under “Manage Domains”. Click the domain you want to manage, and then create a new subdomain. It will prompt you to create a folder with the same or different name after that. Once a folder is created, go back to the control panel and setup a new FTP user account to access that folder if needed.

3. Create the web.config file in the Subdirectory

Once the hosting was upgraded, the subdomain still did not ‘show up’, but simply redirected to the primary domain’s website. To fix that, you have to create a web.config file in the subdirectory you created in step 2. To do that, go back to the hosting control panel and click on “File Manager”. Browse to the subfolder and then click new. Copy and paste the following code:

<!--?xml version="1.0" encoding="UTF-8"?-->
<configuration>
<system.webserver>
<rewrite>
<rules>
<clear>
<rule name="SubWordpressFolder" stopprocessing="true">
<match url=".*">
<conditions>
<add input="{HTTP_HOST}" pattern="^(www.)?youranotherdomain.com">
<add input="{PATH_INFO}" pattern="^/" negate="true">
</add></add></conditions>
<action type="Rewrite" url="\your\sub\domain\directory\path\{R:0}">
</action></match></rule></clear></rules></rewrite></system.webserver></configuration>

<rule name="SubWordpressFolder-wp" patternsyntax="Wildcard">
<match url=".*">
<conditions>
<add input="{REQUEST_FILENAME}" matchtype="IsFile" negate="true">
<add input="{REQUEST_FILENAME}" matchtype="IsDirectory" negate="true">
</add></add></conditions>
<action type="Rewrite" url="index.php">
</action></match></rule>



Thanks to Samrat Saha on the WordPress Forums for this solution, which is based on this “Install WordPress on IIS” tutorial from Microsoft.

Note:Be sure to change the “www” to your subdomain name, “youranotherdomain.com” to your primary domain name, and “\your\sub…” directory path to the actual path.

PS. The “R:0” are “back-references to condition patterns“.

4. Install WordPress Like Normal

You may not be able to use the one-click install application in Godaddy for a subdomain, but you can still manually install WordPress. First create a MySQL database. Record all of the info from setup such as database name, username, password, and host name. You’ll need all of that to configure WordPress. Next, download the latest installation files from WordPress.org. Unzip the file and upload to your sub-folder using FTP. Once the files have been uploaded, go to [subdomain.primarydomain] and follow the prompts to create a configuration file.

How to Host a Website Using a Laptop and a 3G Connection

Web hosting is best in a redundant, highly scalable, and dependable environment like at 1and1 or Bluehost, but I wondered how successful the other end of that spectrum would be. I didn’t know if a smart phone was capable of hosting a web site, but I knew that there’s not much difference between a laptop and a server besides the mobility. I realize that not all laptops are mobile and that many people use them as desktop replacements, but this article focuses on how you would take a website mobile using a 3G connection.

Monthly Website Reports

Here’s an example of what our customers get from us each month in their Monthly Website Report:

Good afternoon. I hope your summer is going well. Attached is your monthly Google Analytics report and a special message below.

A Special Message

Have you ever thought of an app for your phone that you thought could enhance your business or help your customers? What if there was a way you could see that app come to reality on the iPhone?

We have recently partnered with a company that develops applications for the iPhone, iPad, and iPod Touch that can be used around the world – for your customers or to turn your idea into profit.

There are many different reasons why you might want to develop your own app such as a way to help your customers interact with your business (ex. scheduling or bill payment) or maybe it’s a non-business idea you had that you just want to explore to either sell or make money from ads.

Whatever your ideas are, we’d love to hear about them. What’s your passion? Is there an app for that?

Depending on your level of service, we may also add the following metrics:

  • Unique visitors
  • Twitter followers
  • Facebook fans

Don’t have a Twtter or Facebook account? We can fix that up for you to manage for $120 or leave that to us for $60 a month with a six month minimum contract.