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

0 Members and 1 Guest are viewing this topic.

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #15 on: March 28, 2016, 10:03:43 AM »
Hi, try to edit the file /var/named/juvebalkan.com.db directly and add the record.

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #16 on: March 28, 2016, 10:06:12 AM »
Hi, try to edit the file /var/named/juvebalkan.com.db directly and add the record.

I think he messed the bind server

Offline
*
Re: Domain doesn't work without 'www'
« Reply #17 on: March 28, 2016, 10:10:16 AM »
I added those lines directly through SSH, but when I tried to restart named service, I got this:

Code: [Select]
[root@capitano ~]# /etc/init.d/named restart
Stopping named: .                                          [  OK  ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
dns_master_load: /var/named/www.juvebalkan.com.db:23: www.www.juvebalkan.com: multiple RRs of singleton type
zone www.juvebalkan.com/IN: loading from master file /var/named/www.juvebalkan.com.db failed: multiple RRs of singleton type
zone www.juvebalkan.com/IN: not loaded due to errors.
_default/www.juvebalkan.com/IN: multiple RRs of singleton type

I edited again and removed those lines and it started ok again

Offline
*
Re: Domain doesn't work without 'www'
« Reply #18 on: March 28, 2016, 10:16:14 AM »
http://leafdns.com/index.cgi?testid=92C163F4

no records for your domain

So you think my custom nameservers are not properly configured? It's standard GoDaddy feature, I had them before and everything was working ok

Offline
***
Re: Domain doesn't work without 'www'
« Reply #19 on: March 28, 2016, 10:31:43 AM »

zone www.juvebalkan.com/IN: not loaded due to errors.


seem you wrong entering domain, juvebalkan.com is your domain, but you enter www.juvebalkan.com subdomain as main domain.

Offline
*
Re: Domain doesn't work without 'www'
« Reply #20 on: March 28, 2016, 10:38:04 AM »
You are probably right...when I created domain account, I entered www.juvebalkan.com and it automatically created this DNS record.

I don't have anything for juvebalkan.com in the list

What should I do, any solution for that? Maybe create a new DNS record and replicate www.juvebalkan.com entry with juvebalkan.com?

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #21 on: March 28, 2016, 11:28:07 AM »
Hello.

Yes, you should create additional domain juvebalkan.com and add to it subdomain www .

Offline
*
Re: Domain doesn't work without 'www'
« Reply #22 on: March 28, 2016, 12:22:05 PM »
Can I, for example, create new account/domain juvebalkan.com and in the hosting itself make PHP redirection to www.juvebalkan.com or something

Would that work?

Offline
*
Re: Domain doesn't work without 'www'
« Reply #23 on: March 28, 2016, 12:25:36 PM »
Hello.

Yes, you should create additional domain juvebalkan.com and add to it subdomain www .

Can you, somehow, expand the answer a little bit?

So I should create a new account in CWP, and add domain name juvebalkan.com or should I just create DNS record for juvebalkan.com?

Thanks!

Offline
***
Re: Domain doesn't work without 'www'
« Reply #24 on: March 28, 2016, 01:40:22 PM »
The best and correct step, backup you web. delete user with www.juvebalkan.com domain, then create user with juvebalkan.com domain and restore all web content.

Offline
*
Re: Domain doesn't work without 'www'
« Reply #25 on: March 29, 2016, 10:17:28 AM »
Is there any way to modify the current setting or add some record without moving my data?

Offline
*
Re: Domain doesn't work without 'www'
« Reply #26 on: March 29, 2016, 10:22:08 AM »
All I want is to somehow redirect everything from juvebalkan.com to www.juvebalkan.com

Offline
*
Re: Domain doesn't work without 'www'
« Reply #27 on: March 29, 2016, 10:50:04 AM »
Is it a good solution to create new account/domain with juvebalkan.com and just input .htaccess there with following lines:

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

Would that work good?

Offline
*****
Re: Domain doesn't work without 'www'
« Reply #28 on: March 29, 2016, 11:35:46 AM »
If DNS record for juvebalkan.com does not exists a redirects won't be works.
You have to configure your DNS records for juvebalkan.com and www.juvebalkan.com

Offline
*
Re: Domain doesn't work without 'www'
« Reply #29 on: March 29, 2016, 01:11:30 PM »
Can I do that through CWP?

If yes, how?

Thanks.