How to make site work without www?

I uploaded my own pre-built website.

Does anyone know how to make a website work without www dot in front of the domain name ?

My site only works with www

Without www it goes to:

http://error404.000webhost.com/?

It worked just fine before moving to the new panel.

Is there a setting somewhere to allow both to work?

Thanks

What is the website URL?

Sorry for the delay, and thanks for the response - it was very late when I posted, and I needed to sleep.

Domain is kirkbyparkbandb.co.uk

I cleared cache, rebooted both the computer and the router - as I have seen suggested elsewhere on the forum.

This morning tried the same again, and on a different computer.

Even clicked the link from a search engine listing.

Without the www redirects to the error link in my first post, but www before it works just fine.

Appreciate any assistance.

Thanks

Thanks for posting.

Yes, I have that too - www.kirkbyparkbandb.co.uk works.

But kirkbyparkbandb.co.uk without the www dot in front, it give the 000host 404 error page.

Just been through and tried everything all over again, deleted cookies, temp files, emptied cache, rebooted both computer and router.

IE - doesn’t work

Tried the fix again, then tried in Firefox - still doesn’t work.

Deleted and emptied once again, rebooted, etc and tried in Chrome - still doesn’t work.

https://www.browserling.com/ shows the website without the www - but here it does not.

Weird both load for me

Sometimes your local Internet Service Provider may use outdated DNS servers, or your computer might be configured to use set ones also which might not be as up to date as the ones I’ll provide below.

Using different DNS servers should not impact your performance, if anything it will make loading sites faster and any changes to other peoples websites should reflect faster as well.

First you’ll want to navigate to your start menu, control panel then network connections.

Once open you’ll want to right click on the connection your computer uses to connect to the Internet be it ethernet wired connection or a wireless connection to your router and select properties.

Once the properties menu appears you’ll want to select Internet Protocol Version 4 (TCP/IPV4) then select properties

Once now on the last screen you’ll want to type in 8.8.8.8 as the first one and 8.8.4.4 as your secondary DNS server.

Now close and save all changes.

Now you’ll want to do the following - find Command Prompt within your start menu else hit start, run, cmd.exe and then open it.

Once open just type ipconfig /flushdns

For more information on Google DNS https://developers.google.com/speed/public-dns/docs/using

I hope this aids somewhat.

wow

Just wow.

That must have taken ages to post - thank you !

The appearance of the graphics explaining the navigation instructions are not exactly the same as mine, but the instructions you have given are clear, so it was fairly easy to ‘translate’ and follow your steps to the letter.

After all your work, I was hoping to come back with a positive post - but sadly not. And after a successful dns flush

www.kirkbyparkbandb.co.uk works as ever.

http://kirkbyparkbandb.co.uk does not, it is still redirecting me this page: http://error404.000webhost.com/?

Before the migration both versions, with and without the www, worked perfectly. Suddenly only one does - was I supposed to edit the .htaccess file?

I read in one of the posts that it had been tried, but it is not something I have had experience with …

Thanks

I’m really confused then since I use Google DNS I would expect it to work for you.

If I visit http://kirkbyparkbandb.co.uk it is taking me to http://www.kirkbyparkbandb.co.uk

:confused: :frowning:

Tried clearing your browser cache and data?

On the DNS flush/changing DNS to Google if you have a wireless connection you would select that instead of ethernet for example?

It working just fine for me when I go to … http://kirkbyparkbandb.co.uk

1 Like