?
Solved

Access Wordpress site with non-www on IIS 7.5

Posted on 2015-01-14
2
Medium Priority
?
163 Views
Last Modified: 2015-01-16
Hello
Ive installed Wordpress on Windows server 2008 R2 using Webplatform Installer. All is well except the ability to access the site by typing domain.com (without www)

I have URL Rewrite installed (came along with the platform installer)
In wordpress Settings-General I have both "Wordpress Address (URL)" "and Site Address (URL)" set as http://www.domain.com

On external NS, I only have an A record pointing the servers external IP adress. Do I need to create additional records?

What is the correct way on setting this up?
0
Comment
Question by:Bes4dmin
2 Comments
 
LVL 18

Accepted Solution

by:
Lucas Bishop earned 2000 total points
ID: 40550391
Set up a DNS A record for both the www and non-www domains:

Host           | Type  | Data
---------------+-------+-------------
domain.com     | A     | 1.2.3.4
www.domain.com | A     | 1.2.3.4

Open in new window


Replace 1.2.3.4 with your sites actual IP Address.
0
 
LVL 1

Author Closing Comment

by:Bes4dmin
ID: 40553226
so I added an A record to the naked domain and now the site is accessible on http://domain.com
Thanks
0

Featured Post

Independent Software Vendors: 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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
Suggested Courses

850 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