Solved

website does not load without www

Posted on 2014-12-06
12
73 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
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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 28

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 52

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 52

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

832 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