[ubuntu-in] Hosting sites on ubuntu
Nishant Sharma
nishantsharma.in at gmail.com
Tue Oct 14 13:58:40 BST 2008
mallikarjun arjun wrote:
> Tried afraid.org <http://afraid.org> but could not continue and was
> totally confused. can you brief me the process if you can?
Ok, instead of afraid.org, use dnsexit.com.
1) Create an account on dnsexit.com
2) Download domainUpdate perl script from
http://downloads.dnsexit.com/domainUpdate.zip
3) Change these variables in the script
my $user = 'xxxxxxx';
my $pass = 'yyyyyyyy';
my $domain = 'mydomain';
my @network = `ifconfig ppp0`;
my $ipfile = '/usr/local/src/domainUpdate/last_ip';
4) Create a symlink in /etc/ppp/ip-up.d to the script. This will ensure,
whenever your pppd reconnects, it runs the script. It is assuming that
you run pppoe from your local machine and your DSL router is in bridge mode.
5) Create DNS entry in dnsexit webGUI for your domain.
6) Now, call domainUpdate.pl manually and run following command to check
if your IP address has been updated on dnsexit nameservers:
dig @ns3.dnsexit.com yourdomain.com
7) Go to the control panel of your domain registrar and change your
nameservers there to
ns3.dnsexit.com
ns4.dnsexit.com
ns1.dnsexit.com
ns2.dnsexit.com
8) Try reconnecting your ppp session and follow step 6 again to verify,
if your script is running properly.
regards,
Nishant
More information about the ubuntu-in
mailing list