Need Help with DNS and DA

Jinseng

New member
Joined
Jan 19, 2005
Messages
2
I have read the DA tutorials and searched around the forums and Im still quite confused. I bought a dedicated machine with DA installed. The Data Center have also included 8 additional ips and 1 server ip that uses DA.

I registered 1 domain name at http://www.namecheap.com

My questions:
1. I was given this link by my DC http://www.directadmin.com/newinstall.html

I have done step 1 and step 3. Im not really sure what step 2 is for and how it works. For step 1 is it necessary to do? ...I just wanted to make sure what I did was correct...with step 1, I entered the domain I registered with namecheap.com. Is that right? Why did I have to do step 1? I thought once I registered with a domain registration service all I have to do is have them point the address to the machine.

2. I would also like to assign different users their own site and ip. For ex: user1 would have the ip 66.246.222.300 and be able to enter user1.myhosting.com in their brower. How do I set this up in DA and with namecheap.com? Do I have to register a different domain for them to use?

3. I would like certain users not to be able to view or upload to certain folders when they log on using their FTP. How do I do this?

4. Referring to question 3. I would like those users not able to upload in the folder still be able to view the main server site. Ex user1 and user2 can go to user1.hosting.com or user2.hosting.com and see the main server site. But when user3 goes to user3.hosting.com they can view their own html files they have uploaded through ftp.

4. I would also like certain users not to have a default email given to them. Im having problems when I create packages while entering 0 Email Accounts. Everytime I test and assign a user to an IP address they have an email account created and can use Webmail:SquirrelMail and Ubeimail.

Please help a newbie and explain in great detail that is easy to understand.

Thank you
 
Last edited:
1. Step 1 is not necassary but is recommended otherwise the only way to access phpmyadmin or squirrelmail, users would have to use the server's ip address or their own domain if they had one.

I thought once I registered with a domain registration service all I have to do is have them point the address to the machine.
Partially, you must also configure the server for this domain so that it's associated with an account as you did in step 1. A domain must be associated with an account on the server that the domain is pointing to otherwise it will most likely not work.

2. Assuming you run your own DNS server, (step 2) and that the domain you have uses your own nameservers, all you have to do is create a user, enter the domain you want that user to use (user1.domain.com) and then select the ip address you want to assign to them in the drop down box. The default is the server shared address.
Just remember that, ip addresses must alread be added through the IP Management page on the admin level.

3. Users can create new ftp accounts which only have access to specified directories, if that's what you mean. You can set that up through the FTP Management page on the user level.

4. Do you mean have download privileges but no upload privileges? If so this would have to be done through the proftpd configuration or the .htaccess like files that proftpd is capable of.

5. A default email account is always created by the operating system on any operating system DA runs on. As far as I know, there is no way around this.
 
Thank you for responding jmstacey.

I tried what you suggested and Im not sure if what I did is correct. Im still a little bit confused.

Heres what I have done so far:

1. Logged on DA as admin
- in User Level, I added the domain I registered with namecheap.com. (ex. hostname.com)
- in Admin Level, under IP Management, I added the 8 ips given to me by my Data Center. The DA server ip is already listed.
-then I selected all the box except the main DA ip and assigned it to admin
- in Reseller Level, under Nameservers , I checked the box with the first 2 available ips listed
-then I clicked create

2. I logged on namechep.com control panel

Basically I filled out the form and it looks like this:

www myhostname.com (a)
@ emptyfield

ns1 1st.ipaddress in #1 (a)
ns2 2nd.ipaddress in #1 (a)

-then I saved that. Are those settings correct?

3. I logged back on DA as admin.
-in Reseller Level, under Manage Package, I created a package with
Bandwith Unlimited
Diskspace 500
Domains
to
DNS Control was 0 or unchecked
suspend checked
skin enhanced
-saved as new package

4. Then I created a user
-in Reseller Level, under Add New User,
Username name
Email [email protected]
password ******
password ******
domain ns1.myhostname.com (for the domain field thats exactly what i put. Is that right?)
Userpackage newpackage
Ip the first ip listed

(for the ip i used the ip that shows ns1.hostname.com servername, which is the same 1 I entered when creating ns1 and ns2 for nameservers above).

- then I clicked submit

Did I do it correctly?

When I use my web browser and enter this w/o the quotes "ns1.myhostname.com" nothing shows up! Is it suppose to take 24-72hrs when I set this up in my dedicated server or should it work instantly?

Say I wanted to add 2 more new users:

2nd user with ns2.myhostname.com and the 3rd user with ns3.myhostname.com... so the 2nd user can enter "ns2.myhostname.com and 3rd user can enter "ns3.myhostname.com" in their browsers.

Do I do the same thing for the 2nd user as 1st user above but use the 2nd listed ip instead?

How do I assign the 3rd user to be able to view ns3.myhostname? Do I create more Name Servers under Reseller Level and assign ns3 and ns4 to 2 more ips(same as #1 above but using ns3 and ns4 instead)?

Thank you
 
Last edited:
Back
Top