Solved

Access Wordpress site with non-www on IIS 7.5

Posted on 2015-01-14
2
116 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 16

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
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 integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now