Author Topic: Domain doesn't work without 'www'  (Read 21507 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Domain doesn't work without 'www'
« on: March 27, 2016, 06:22:47 PM »
Hello,

I have a wiered problem.

Since I moved to CentOS Web Panel, my domain is not working without 'www'. It only works like www.domain.com , but it doesn't open if you type domain.com

Any tips how to solve that through Centos Web Panel?

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #1 on: March 27, 2016, 10:29:51 PM »
Redirect non www to www in .htaccess

Offline
*
Re: Domain doesn't work without 'www'
« Reply #2 on: March 27, 2016, 10:43:55 PM »
Can you show me example for that?

I'm using WordPress website and SMF forum...I tried putting in .htaccess something but it didn't quiet work.

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #3 on: March 27, 2016, 10:47:06 PM »
Can u pm the domain or u can post here

Offline
*
Re: Domain doesn't work without 'www'
« Reply #4 on: March 27, 2016, 10:48:51 PM »

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #5 on: March 27, 2016, 10:55:05 PM »
Your domain's dns records are not properly setup. Check your name server and dns records.

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #6 on: March 27, 2016, 10:56:56 PM »
If you moved to new server with new ip check the server ip in name server (child name server)

Offline
*
Re: Domain doesn't work without 'www'
« Reply #7 on: March 27, 2016, 11:05:53 PM »
Thank you for your answer.

I'm actually using this server (VPS) from 2012, so it's not a new server.

People can actually access it normally if they type www.juvebalkan.com but they can't if they type only juvebalkan.com

So I was wondering if there is anything I am missing here...

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #8 on: March 27, 2016, 11:09:22 PM »
It is name server problem ... Name servers are not correctly configured

Offline
*
Re: Domain doesn't work without 'www'
« Reply #9 on: March 27, 2016, 11:10:06 PM »
Can I configure that through Centos Web Panel, and if yes, how can I do that so it can work and without www. ?

Thanks!

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #10 on: March 27, 2016, 11:13:04 PM »
I'll recommend you to use cloudflare dns or cwp free dns services...

Offline
***
Re: Domain doesn't work without 'www'
« Reply #11 on: March 28, 2016, 01:19:22 AM »
Can I configure that through Centos Web Panel, and if yes, how can I do that so it can work and without www. ?

Thanks!

yes you can, at least you need two line like this

juvebalkan.com     0   IN   A                 84.200.77.148
www                     0   IN   CNAME        juvebalkan.com




Offline
*
Re: Domain doesn't work without 'www'
« Reply #12 on: March 28, 2016, 09:55:53 AM »
Thanks Jae.

I added that and restarted named service.

But I'm not quiet sure if it's working now without www

Offline
*
Re: Domain doesn't work without 'www'
« Reply #13 on: March 28, 2016, 09:58:02 AM »
Actually, it doesn't let me add that at all.

I add that, click Save, and when I open it again, it's not there, it's not saved...Edit file or Edit records, both won't save the changes

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #14 on: March 28, 2016, 10:02:39 AM »