• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

Access Wordpress site with non-www on IIS 7.5

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?
1 Solution
Lucas BishopClick TrackerCommented:
Set up a DNS A record for both the www and non-www domains:

Host           | Type  | Data
domain.com     | A     |
www.domain.com | A     |

Open in new window

Replace with your sites actual IP Address.
Bes4dminAuthor Commented:
so I added an A record to the naked domain and now the site is accessible on http://domain.com
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now