Solved

website does not load without www

Posted on 2014-12-06
12
77 Views
Last Modified: 2016-05-25
Good morning!
I have a situation with one of our websites. The site is hosted off site.  Every so often when someone go to our web c-m-p.com. It does not load,  you have to www.c-m-p.com.  any suggestions on why that is?  nothing has changed with my registrar.
0
Comment
Question by:tips54
[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
12 Comments
 
LVL 19

Expert Comment

by:strivoli
ID: 40484635
Some browsers (and sometime behavior changes from version to version) add www automatically to the URL the users type in the address text box. For those that don't, the solution is adding *.domain.com to the DNS.
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 40484640
You could also add a redirect rule to redirect all non wwwrequests to www

http://kb.siteground.com/how_to_redirect_nonwww_urls_to_www/
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40484641
And to expand on that comment, on some browsers, I don't have to add ".com".  I can type "google" or "cisco" in the address bar and the browser will automatically fill out the rest.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:tips54
ID: 40484651
Strivoli,
I already have (* (All Others)       7200       204.100.163.112 ) on my DNS with the registra. and it does not work.
Monty,
the website is hosted off premise.
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 40484660
what you need is a ServerAlias directive in your web server configuration for that domain and make sure that www.domain.com and domain.com both point to the same address in DNS.

I don't know IIS, but that is the term in Apache.
0
 
LVL 53

Expert Comment

by:Scott Fell, EE MVE
ID: 40484661
You have a 301 redirect set up on your server.  If you add c-m-p.com to the address bar, your site redirects to www.

What you are describing sounds like you are using a search bar to add the web address and this is common.   What browser are you using?
0
 
LVL 53

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points
ID: 40484673
Your server is on media temple running nginx.

Media temple has instructions on how to set up  your redirect.  http://kb.mediatemple.net/questions/1889/How+do+I+use+the+Redirect+Domains+tool%3F

If you are having issues, you may want to double check that set up.

But from what you are describing, it does sound like you are having browser issues and not webserver issues.  I tried multiple times on chrome/mac and couldn't reproduce any problems.   Try clearing your cache.
0
 

Author Comment

by:tips54
ID: 40484765
I think it's browser related as well.  I use FireFox and I don't have that issue.  The problem occurs with IE.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 40484849
That page redirects properly in Firefox, Chrome, and IE8 on my computer.  There may be a setting in "Private Browsing" that blocks redirects.  If that is what is happening, you can't do anything about it.  Sometimes 'redirects' are blocked as a 'security measure'... but pages are redirected for perfectly normal reasons fairly often.
0
 

Author Comment

by:tips54
ID: 40532359
I will check with the end user.
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

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