Zaf
08-20-2005, 06:37 AM
The following is a step by step guide of the first few days:
1. Add two child name server records at domain registrar for the base (primary) domain pointing to the two ip addresses allotted by PVPS (assuming that you have Power1 account)
ns1.yourdomain.com pointing to primary ip
ns2.yourdomain.com pointing to secondary ip.
Also change the name servers addresses for your domain name to these new name server names just created as above.
These changes probably might take upto 48 hrs to propogate throughout the web. You can see them take effect almost instantaneously on your computer if you downloaded and installed Tree Walk DNS (http://ntcanuck.com/downloads.htm)
To confirm the above check the whois of yourdomain.com, ns1.yourdomain.com and ns2.yourdomain.com
2. Next thing is to log in to the WHM. I'll try to list the ones that usually need changes and will try to explain some of them as necessary.
Server Setup --> Edit Setup
a. Primary ip
b. Server Contact e-mail address
c. Server Contact pager address
d. Host name of the server: You'd probably have host.yourdomain.com as your server name. If you dont like the name 'host' for your server...It would be better and far more easier to open a support ticket and request a change rather than going through settings yourself. For instance, this change also requires modifying the httpd.conf (atleast in my case it was required).
e. primary name server
f. secondary name server
Other than these, you can fill in ur AIM and ICQ account details which are self explanatory.
Server Setup --> Tweak Settings
Most of the settings are self explanatory. Dont need to change much here unless you want things in a specific way. I chose to enable AWStats and disabled Analog stats, also disabled Neomail and Squirrelmail to save resources.
Server setup --> Tweak Security: Atleast Enable the SMTP Tweak if not enabled already.
3. Next thing I did was to change my DNS Zone Template files.
I changed the SOA record of the zone templates as follows:
@ IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
7200 ; refresh, seconds
2400 ; retry, seconds
2419200 ; expire, seconds
3600 ) ; minimum, secondsFurther, i changed the www, mail and ftp records as follows:
mail IN A %ip%
www IN A %ip%
ftp IN A %ip%
4. I also modified the dns config file pico /etc/named.conf from SSH as follows:
I added the following line in the options { } section just below the line //query source address * port 53;
version "Ver 0.0";I have also disabled recursion by adding the following lines in the same sectionallow-recursion {
127.0.0.1;
pri.ip.of.vps;
sec.ip.of.vps;
};5. For MySQL, PHP and other tweaks you would have to read some of the threads in the forum. I'm doing the same too and am still in the process of changing a lot of things in my VPS. I'm just one week old in the world of VPS.
Lastly, I'm thankful to elix, who helped me great bit and even logged into my VPS to make sure most of the things were set right.
Hope this post is helpful to ppl who have just joined in.
Shahzada
1. Add two child name server records at domain registrar for the base (primary) domain pointing to the two ip addresses allotted by PVPS (assuming that you have Power1 account)
ns1.yourdomain.com pointing to primary ip
ns2.yourdomain.com pointing to secondary ip.
Also change the name servers addresses for your domain name to these new name server names just created as above.
These changes probably might take upto 48 hrs to propogate throughout the web. You can see them take effect almost instantaneously on your computer if you downloaded and installed Tree Walk DNS (http://ntcanuck.com/downloads.htm)
To confirm the above check the whois of yourdomain.com, ns1.yourdomain.com and ns2.yourdomain.com
2. Next thing is to log in to the WHM. I'll try to list the ones that usually need changes and will try to explain some of them as necessary.
Server Setup --> Edit Setup
a. Primary ip
b. Server Contact e-mail address
c. Server Contact pager address
d. Host name of the server: You'd probably have host.yourdomain.com as your server name. If you dont like the name 'host' for your server...It would be better and far more easier to open a support ticket and request a change rather than going through settings yourself. For instance, this change also requires modifying the httpd.conf (atleast in my case it was required).
e. primary name server
f. secondary name server
Other than these, you can fill in ur AIM and ICQ account details which are self explanatory.
Server Setup --> Tweak Settings
Most of the settings are self explanatory. Dont need to change much here unless you want things in a specific way. I chose to enable AWStats and disabled Analog stats, also disabled Neomail and Squirrelmail to save resources.
Server setup --> Tweak Security: Atleast Enable the SMTP Tweak if not enabled already.
3. Next thing I did was to change my DNS Zone Template files.
I changed the SOA record of the zone templates as follows:
@ IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
7200 ; refresh, seconds
2400 ; retry, seconds
2419200 ; expire, seconds
3600 ) ; minimum, secondsFurther, i changed the www, mail and ftp records as follows:
mail IN A %ip%
www IN A %ip%
ftp IN A %ip%
4. I also modified the dns config file pico /etc/named.conf from SSH as follows:
I added the following line in the options { } section just below the line //query source address * port 53;
version "Ver 0.0";I have also disabled recursion by adding the following lines in the same sectionallow-recursion {
127.0.0.1;
pri.ip.of.vps;
sec.ip.of.vps;
};5. For MySQL, PHP and other tweaks you would have to read some of the threads in the forum. I'm doing the same too and am still in the process of changing a lot of things in my VPS. I'm just one week old in the world of VPS.
Lastly, I'm thankful to elix, who helped me great bit and even logged into my VPS to make sure most of the things were set right.
Hope this post is helpful to ppl who have just joined in.
Shahzada