Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 26379

[ubuntu] Domain not working after upgrade from 12.04 to Ubuntu 12.10

$
0
0
After attempting a failed upgrade from the command line I had to reinstall Ubuntu 12.10 completely with an iso image disc. Have not yet gone through the process of reinstalling from my back-up because if this problem is not resolved I am going back to Ubuntu 12.04.

Below is all the data I have entered using the Ubuntu Guide to reset my broomeunderground.com domain on my private server. Yet despite tests showing that things are working I get unable to connect to broomeunderground.com or using my IP address. Any ideas, guys, where I am going wrong? All suggestions would be greatly appreciated.


The f
our directories I edited with nano:
1. /etc/bind/named.conf.options
2. /etc/bind/db.broomeunderground.com
3. /etc/bind/db.192
4. /etc/bind/named.conf.local

And created the two DataBases
1. db.broomeunderground.com
2. db.192


1.) nano /etc/bind/named.conf.options


forwarders {
209.18.47.61;
};

2a) Create DataBase: sudo cp /etc/bind/db.local /etc/bind/db.broomeunderground.com
2b) nano /etc/bind/db.broomeunderground.com



;
; BIND data file for broomeunderground.com
;
$TTL 604800
@ IN SOA broomeunderground.com. admin.broomeunderground.com. (
2013022201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800) ; Negative Cache TTL
IN A 74.67.98.211
;
@ IN NS ns.broomeunderground.com.
@ IN A 74.67.98.211
@ IN AAAA ::1
ns IN A 74.67.98.211



3a) Create DataBase: sudo cp /etc/bind/db.127 /etc/bind/db.192
3b) nano /etc/bind/db.192

;
; BIND reverse data file for 74.67.98.211 com
;
$TTL 604800
@ IN SOA ns.broomeunderground.com. admin.broomeunderground.com. (
2013022201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
10 IN PTR ns.broomeunderground.com.


4. nano /etc/bind/named.conf.local


//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
include "/etc/bind/zones.rfc1918";

zone "broomeunderground.com" {
type master;
file "/etc/bind/db.broomeunderground.com";
};

zone "98.67.74.in-addr.arpa" {
type master;
file "/etc/bind/db.192";
};

However I do get this error when using restart for apache2 though using apache2 reload appears to be OK:


root@serv1ubuntu1210:/home/tom# sudo service apache2 restart
Syntax error on line 1 of /etc/apache2/sites-enabled/nano.save:
Invalid command 'VirtualHost', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
root@serv1ubuntu1210:/home/tom# sudo service apache2 reload
* Reloading web server config [ OK ]
root@serv1ubuntu1210:/home/tom#

In file nano.save:

VirtualHost *:80>
ServerAdmin webmaster@localhost

Document Root /var/www/broomeunderground.com
ServerName broomeunderground.com


TESTING

root@serv1ubuntu1210:/home/tom# dig -x 74.67.98.211

; <<>> DiG 9.8.1-P1 <<>> -x 74.67.98.211
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60668
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;211.98.67.74.in-addr.arpa. IN PTR

;; ANSWER SECTION:
211.98.67.74.in-addr.arpa. 43200 IN PTR cpe-74-67-98-211.stny.res.rr.com.

;; Query time: 27 msec
;; SERVER: 209.18.47.61#53(209.18.47.61)
;; WHEN: Mon Feb 25 17:13:01 2013
;; MSG SIZE rcvd: 89

root@serv1ubuntu1210:/home/tom#

To test our example Forward zone file enter the following from a command prompt:

root@serv1ubuntu1210:/home/tom# named-checkzone broomeunderground.com /etc/bind/db.broomeunderground.com

zone broomeunderground.com/IN: loaded serial 2013022201
OK
root@serv1ubuntu1210:/home/tom#

Similarly, to test the Reverse zone file enter the following:

root@serv1ubuntu1210:/home/tom# named-checkzone 98.67.74.in-addr.arpa /etc/bind/db.192
zone 98.67.74.in-addr.arpa/IN: loaded serial 2013022201
OK
root@serv1ubuntu1210:/home/tom#

Viewing all articles
Browse latest Browse all 26379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>