Solved

Access Wordpress site with non-www on IIS 7.5

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

696 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