澳大利亚新闻 澳洲留学移民 澳洲留学移民精华 澳大利亚广播电台 澳大利亚英语讲座 雅思听力 雅思口语 雅思阅读 雅思写作 澳大利亚贴图 新西兰论坛 澳大利亚招聘 澳大利亚租房 澳大利亚旅游 澳大利亚黄页 澳大利亚宠物 澳大利亚文学 澳大利亚美食 堪培拉,Canberra论坛 悉尼,Sydney论坛 墨尔本,Melbourne论坛 布里斯本,Brisbane论坛 悉尼大学,USYD Forum 新南威尔士大学,UNSW CSA Forum 麦觉理大学,MQ Forum 悉尼科技大学,UTS Forum TAFE 澳洲高中,Taylors College论坛 墨尔本大学联盟 Adelaide大学联盟 昆士兰大学联盟

How to setup your own nameservers(页 1) - 澳洲网页设计 -

澳洲中文网 » 澳洲网页设计 » How to setup your own nameservers
悉尼专业美发
2005-12-24 03:26 城市童话
How to setup your own nameservers

Hi everyone, I've noticed that there are a lot of questions here regarding nameservers and how to setup your own. Actually I have some questions of my own, so I though that instead of just asking for help, it would be a good idea to make some kind of begginers guide on how to do this, so I'll give you step by step on how I've done it before sucesfully and how I am doing it here on my server matrix server (tough I've had a few problems which might be answered on this same post later on).

Now this is not just aplicable for SuperCeleron server, this is mostly related either to the operating system or the control panel, in my case CPanel, but since my box is a SuperCeleron, i decided to post it here so the moderators can then move it to where they feel it must be, assuming that the content is good enough to fit anywhere that is  .

So here it goes:


1.- On your Cpanel server setup, you will see the option to add nameservers, so what you do is that you input ns1.yourdomain.com on the primary nameserver and ns2.yourdomain.com.

2.- Right there you will see an option to assign an IP address to that nameserver you just added, just click on it for both nameservers, each nameserver must have its own IP address, what I have read to explain this is simply because if one failes, the otherone would still remain avaliable. So make sure each nameserver has its own ip address (and I think you can not add the same IP to both nameservers anyways)

3.- After you assign an IP to each of your nameservers, you must add that information to your zone file for that domain name, cpanel offers you an easy way to do this, by clicking where it says "Add A entry" that will basically take the information for your ns1 and ns2 nameserver with their ips, and will include it on your domain name zone file.

4.- You must register your nameservers at your registrar. Either network solutions, go daddy or who ever you use to register your domain name. They must add the records ns1.yourdomain.com and ns2.yourdomain.com with their respective IP's (the ones you assigned on step two) to your domain name. Some services have an interface where you can do this on your own, but on some other registrars I have had to ask them to do it for me since they do not have any interface for me to do it. They did not charge me for it.

5.- You must wait around 3 days for the nameservers to propagate over the world. After they have propagated you will be able to point any domain name to ns1.yourdomain.com and ns2.yourdomain.com and they should work.


Now it is very important that you know that I am not techie, or anything remotly close to it. These steps I am giving you is what I have used before on other dedicated machines for them to work for me. However, on more than one time I have had support behind me to help me out on different areas, so I can not guaranty that this would work for you.

I do not know if I am missing any steps, or if my steps make any sense at all. For some reason sometimes I feel techies laughing at me cuz I said something stupid, but the main idea of this post is that if you see something wrong with it, you point it out, so we can build an exact step by step tutorial on how to setup your own nameservers, I think it might come handy.

If nothin in this post makes sense at all, feel free to delete it and forget I ever mentioned anything . But I don't think I am far away from the basic steps.

2005-12-24 03:27 城市童话
I figured i'll post this for anyone using Godaddy:

Once logged in just follow these steps:

• Select 'Manage Domains' from the 'Domain Names' menu at the top of the page
• Click on the domain you wish to configure nameservers for
• Click the '+' next to 'Domain Host Summary' from the menu that appears on the right
• Click on the link named 'Click here to see details or to modify'
• Enter the first name server with it's IP address
• Click 'Save Changes'

You can click 'Add New Host' to register more than one server. When complete, please allow a full 48 hours for the server names' registration. These changes to the settings on your domain take a full 48 hours to become effective across the internet because of the number of networks involved, and because these networks are controlled by several different agencies.

2005-12-24 04:18 城市童话
这只是对于有cpanel的用户来说,没有的就别按照这个方法配置.

2005-12-24 04:24 城市童话
HowTo install pure-ftpd.

--------------------------------------------------------------------------------

Ok, this is a simple tutorial howto install pure-ftpd on your server. It includes virtual users ( puredb ).

------------------------------------------------------------------------------------------------
//First, let's download the latest pureftpd.

1) wget [url]ftp://ftp.pureftpd.org/pub/pure-ftpd...-1.0.20.tar.gz[/url]
------------------------------------------------------------------------------------------------

// Lets untar it.

2) tar zxvf pure-ftpd-1.0.20.tar.gz

------------------------------------------------------------------------------------------------

// Ok, let's cd to pure-ftpd's dir.

3) cd pure-ftpd-1.0.20

------------------------------------------------------------------------------------------------

// Now let's configure it with puredb and ftpwho.

4) ./configure --with-puredb --with-ftpwho

------------------------------------------------------------------------------------------------

// Now let's compile it.

5) make

------------------------------------------------------------------------------------------------

// Just incase if everything is correct.

6) make check

------------------------------------------------------------------------------------------------

// And now let's install it.

7) make install

------------------------------------------------------------------------------------------------

8) You now would need to create two files:
/etc/pureftpd.pdb and /etc/pureftpd.passwd
Just find your favourite and create them.

------------------------------------------------------------------------------------------------

// Now let's create virtual users db.

9) pure-pw mkdb // Incase it dosen't work, you need to find it's location by typing whereis pure-pw.

------------------------------------------------------------------------------------------------

// Now, let's start the server

10) /usr/local/sbin/pure-ftpd -A -B -j -lpuredb:/etc/pureftpd.pdb &

------------------------------------------------------------------------------------------------

// Virtual users adding...

11) pure-pw useradd user -u nobody -d /home/user/folder -m

------------------------------------------------------------------------------------------------

2005-12-24 04:29 城市童话
优化mysql:

You just need to find your my.cnf and edit values in that to increase memory usage (and therefor, performance)

I have a data warehouse that runs mysql, and have found that allowing mysql to consume 500+mb of ram speeds up sorts and queries (that have been cached)

Here are 2 settings i always add if the memory is there to support it (under the [mysqld] section):

set-variable = key_buffer=500M
set-variable = myisam_sort_buffer_size=256M

the key_buffer is the important one, this tells mysql how much memory to cap itself at, essentially.

2005-12-24 04:34 城市童话
How to install - "Awstats"

--------------------------------------------------------------------------------

Installing awstats is a piece of cake. Here is the steps...

Login to Root

root@localhost [~]# wget [url]http://aleron.dl.sourceforge.net/sou...wstats-6.1.tgz[/url]

root@localhost [~]# tgz -xvzf awstats-6.1.tgz

root@localhost [~]# cd /awstats-6.1/tools/

root@localhost [~]# ./configure.pl (Follow the Setup prompt)


Awstats is now installed on to your server. If you have any questions feel free to email me or post a reply in this post.  

To learn more about awstats check out [url]http://awstats.sourceforge.net[/url]

2006-1-9 14:38 雪舞
我的妈呀..全是英文

2006-3-5 00:32 1361109
hei hei 支持!!!!!!!!!!!


页: [1]


澳洲中文网模特

Powered by 澳大利亚中文网 5.5.0  © 2005-2007 澳大利亚论坛