Virtual Server Not Working

3 posts / 0 new
Last post
#1 Sun, 03/16/2014 - 04:04
avebrahimi

Virtual Server Not Working

I have 3 domain on my VirtualMin

The first two are working fine.

But when I add third virtual server, every thing is working, ftp, mail are working. But web server is not working. When I browse the site I get this error from Google Chrome:

Oops! Google Chrome could not find www.bma-co.com

Try reloading the page

Sun, 03/16/2014 - 08:21
Locutus

The URL "www.bma-co.com" does not resolve; the responsible nameservers (see below) say "domain does not exist".

It seems you're not hosting the zone yourself, so you might want to verify the zone at your DNS provider to make sure it contains the "www" hostname.

bma-co.com.             172800  IN      NS      ns1.digitalocean.com.
bma-co.com.             172800  IN      NS      ns2.digitalocean.com.

The name "bma-co.com" exists, "www.bma-co.com" does not.

root@lyra:~# dig bma-co.com
 
; <<>> DiG 9.8.1-P1 <<>> bma-co.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48477
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
 
;; QUESTION SECTION:
;bma-co.com.                    IN      A
 
;; ANSWER SECTION:
bma-co.com.             1800    IN      A       188.226.150.193
 
;; AUTHORITY SECTION:
bma-co.com.             172800  IN      NS      ns1.digitalocean.com.
bma-co.com.             172800  IN      NS      ns2.digitalocean.com.
root@lyra:~# dig www.bma-co.com
 
; <<>> DiG 9.8.1-P1 <<>> www.bma-co.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45963
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
;; QUESTION SECTION:
;www.bma-co.com.                        IN      A
 
;; AUTHORITY SECTION:
bma-co.com.             1800    IN      SOA     NS1.DIGITALOCEAN.com. hostmaster.bma-co.com. 1394725410 3600 900 1209600 1800
Sun, 03/16/2014 - 10:11
andreychek

Howdy,

If you wish for the domain to resolve, you would need to add an 'A' or 'CNAME' record for "www.bma-co.com" in digitalocean's DNS servers (digitalocean is where your DNS is currently hosted).

-Eric

Topic locked