Solved

website does not load without www

Posted on 2014-12-06
12
65 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
12 Comments
 
LVL 19

Expert Comment

by:strivoli
Comment Utility
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 32

Expert Comment

by:Big Monty
Comment Utility
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
Comment Utility
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
 

Author Comment

by:tips54
Comment Utility
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 28

Expert Comment

by:Jan Springer
Comment Utility
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
Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
Comment Utility
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 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 250 total points
Comment Utility
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
Comment Utility
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 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
Comment Utility
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
Comment Utility
I will check with the end user.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This article discusses how to create an extensible mechanism for linked drop downs.
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 a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 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

16 Experts available now in Live!

Get 1:1 Help Now