Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

WordPress website on SBS2008 running IIS7

Posted on 2011-10-22
3
Medium Priority
?
530 Views
Last Modified: 2012-05-12
We have created a new test Wordpress website on our SBS2008 server running IIS7.  When you are on the server and browse to http://localhost/wordpress, the website looks & works fine, and the login to make modifications to the site works perfect.  The Wordpress folder is currently under the Default website.

We host our real website, abc.com, at netsol.  We want to change our Internet DNS to point to our static IP and have abc.com display the Wordpress site.

When you are on our server and browse to http://localhost, you get the default IIS7 webpage.  I can edit the Basic Settings of the Default site and change the Physical Path to c:\inetpub\wwwroot\wordpress, and then browsing to http://localhost brings up the Wordpress site with the theme busted, and the site login breaks, along with webmail.

I have little experience with IIS and while I was able to follow tutorials to get a Wordpress site running properly, I’m afraid I will have to modify all the .php files or even start over from scratch creating the Wordpress site properly.

Does anyone have an easy solution to my dilemma, or can even give me steps on what I should do in IIS first (create a new website named abc.com…) before re-creating the Wordpress site?  Thanks in advance! Steve


0
Comment
Question by:TSKC-Inc
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
murgroup earned 2000 total points
ID: 37011874
As Robwill stated in another post. Running external websites on SBS is not a great idea. However, now that you are almost there here is what I recommend.
Normally when installing a website or CMS like Wordpress, Jumla or other you want to create an new website in IIS and install it there. This way you keep it separate from the default website and avoid potential issues with Exchange client access. I would recommend you uninstall Wordpress and reinstall it to it's own website. This way you can add a binding to the website for your www.yourdomain.com and the website will answer to it once you repoint the domain name to your public IP and forward port 80 to the SBS server (again not a great idea).
0
 

Author Comment

by:TSKC-Inc
ID: 37011908
Thanks murgroup,
I know the dangers of running external websites on SBS, but I'm a small shop and don't get that many hits.  I still may move it off someday as you and others rightly suggest.  As I indicated, I think your solution of starting from scratch is the best course.  I did create an abc.com site in my IIS, and tried to re-direct to http://localhost/wordpress, but that does not seem to solve the issue.  If no one comes up with an easy fix, you'll get the points for your answer.  Thanks, Steve
0
 
LVL 13

Expert Comment

by:murgroup
ID: 37011984
Download the web platform installer and install it on the SBS server. This is the easiest way to install Wordpress. It allows you to create a new website in IIS using the wizard.

http://www.microsoft.com/web/downloads/platform.aspx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month21 days, 6 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question