Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 621255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:51:16+00:00 2026-05-13T18:51:16+00:00

This question could be posted on ServerFault as well, however there is definitely a

  • 0

This question could be posted on ServerFault as well, however there is definitely a coding element involved due to the rewrite rules in my web.config. This is why the question does indeed have a home on SO.

I’ve recently deployed a website to a new server and have discovered that trying to access my site via www.example.com returns a 404 while example.com works just fine. I’m not sure if this is an IIS configuration issue or with the rewrite rules I’ve specified in my web.config.

I have not redployed the site without the rules shown below to see if they are indeed the issue. These rules were working fine while the site was hosted by DiscountASP.NET.

<rewrite>
  <rules>
    <rule name="Redirect to NON-WWW" stopProcessing="true">
      <match url=".*"/>
      <conditions>
        <add input="{HTTP_HOST}" pattern="^www.rsolberg.com$"/>
      </conditions>
      <action type="Redirect" url="http://rsolberg.com/{R:0}" redirectType="Permanent"/>
    </rule>
    <rule name="Default Document" stopProcessing="true">
      <match url="(.*)default.aspx"/>
      <action type="Redirect" url="{R:1}" redirectType="Permanent"/>
    </rule>
  </rules>
</rewrite>

I’ve also confirmed with GoDaddy that there is a WWW cname pointed to @.

Working:
http://rsolberg.com

Not Working:
http://www.rsolberg.com

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:51:16+00:00Added an answer on May 13, 2026 at 6:51 pm

    I would confirm that IIS has both host headers (rsolberg.com and http://www.rsolbeg.com) listed for your site. Without the www version requests will make it to the correct web server but IIS won’t serve the correct site and may be returning a generic 404 instead. I don’t think the redirect/rewrite is involved at all as no 301/302s are getting sent.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 323k
  • Answers 323k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Do the same thing. Don't pass it by ref. UserControl… May 14, 2026 at 1:00 am
  • Editorial Team
    Editorial Team added an answer What is wrong is that the request does not exist… May 14, 2026 at 1:00 am
  • Editorial Team
    Editorial Team added an answer If you use viewDidAppear method it will be keep on… May 14, 2026 at 1:00 am

Related Questions

I realize that this question is slightly server related and could be posted on
I hope this is the right forum for this, and excuse the naive question.
Is it possible to have a relationship from a user table to a system
Posted this on the structuremap group as well. We just started using structuremap last
I'm working on improving the security of my company's website and wanted to create

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.