Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is this non-www domain working?

Featured Replies

I need a very simple yes/no.

 

This is the www: http://www.jetbookingdirect.com/

 

This is the non-www: http://jetbookingdirect.com/

 

Please make sure your browser is not auto inserting the www, you'll know if it is by checking the address. I need to verify the non-www is definitely not working. Probably best to try in IE as IE doesn't auto insert www's.

 

Thanks.

  • Author

Did you 100% check the non-www, or was the www being added?

 

It's not working my end. I also can't ping it.

No www added.

 

Ping jetbookingdirect.com 4 replies.

  • Author

I don't get it, why not my end then?

 

Could it be an issue with the server we have at work which we access the net via?

Is it only this site you have the problem with or do any others fail without the www. ?

  • Author

Just this site. Even though the non-www works, we need to setup a redirect so it's not treated as a separate domain.

.htaccess file in the root of the website

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

  • Author

I found this:

 

Microsoft servers do not have a .htaccess file to alter so we suggest that you contact your hosting provider and request they make this change for you. If they are baffled or need further instructions on how to make the changes you can refer them to the tutorials referenced below:

 

Using Internet Services Manager create a new IP-based website using the http://example.com'>http://example.com'>http://example.com URL or alternatively you can avoid using a unique IP by using the host header (virtual website) of www.example.com.

Now verify the server headers for each website using the Server Header Checker. The server response should be 200 OK for both addresses.

Now add your domain-revised version of the following ASP code to the default home page for http://example.com:< %@ Language=VBScript %>

< %

Response.Status=”301 Moved Permanently”

Response.AddHeader “Location”, http://www.example.com

%>Note: do not change the spacing or line placement within the above code; place it as is.

Once the default page is online first visit your website via http://example.com to ensure the redirect is working. Next check the server headers for http://example.com and make sure you see the following code within #1: “HTTP Status Code: HTTP/1.1 301 Moved Permanently”. That code will confirm the 301 redirect is being properly communicated.

 

 

Read more: How to 301 Redirect Non-WWW to WWW URLs | StepForth Web Marketing Inc.

Under Creative Commons License: Attribution

 

What I don't understand, is where I'm placing this default page. I don't have access to our hosting except via FTP, and I only have FTP for the www?

  • Author

Does anyone basically know how to 301 redirect the non www to the www, on a wordpress site hosted on an IIS server? I need to do this but I don't know how :(

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.