Solved

Access Wordpress site with non-www on IIS 7.5

Posted on 2015-01-14
2
125 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
Lucas Bishop earned 500 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. 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 : Open Page or Post…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

749 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