Hi,
I just installed cPanel trial version on CentOS 6.2, I'm having difficulties in configuring my first cPanel Server especially in Nameservers section. I'm very glad if someone could help me in configuring cPanel but please bear with me if I made mistakes in my typo since my first language isn't English.
Firstly, when I installed my cPanel, I follow these steps one by one (Installation Guides) and I also used (Advanced Options: Pre-Installation) provided. I receive 3 public IPs from my datacenter : 1.1.1.10, 1.1.1.11, 1.1.1.12 with 1.1.1.1 as the gateway and 1.1.0.1, 1.1.0.2 are the DNS. I already bought a domain ONLY incase I need it for this setup, let's say the domain name is thisdomain.com.
Secondly, after cPanel installed on my server, I accessed WHM via https://IP:2087 and it took me to configuration wizard. Logged in with root and I continue to Step 1 clicked agree and in Step 2, where I begin to see where my problem is, the description is very clear until I reach Server Hostname field. In my understanding I have to put FQDN in the field so I change my default hostname when I installing CentOS from localhost.localdomain to caniuse.thisdomain.com. After that I fill the first and second resolver with DNS IPs given to me from datacenter, 1.1.0.1 and 1.1.0.2. Remember when I say 'problem' above, it's not a problem until I found 'Change Hostname' option in WHM later on.
After I finish the second step, I complete the third step flawlessly and then went on to the next step where I feel very uneasy whether I enter the configuration correctly or not. Actually the description is very straight forward, I put ns1.thisdomain.com into Nameserver 1 and ns2.thisdomain.com into Nameserver 2. I add 'A' Entry for both my nameserver ns1.thisdomain.com = 1.1.1.11 and ns2.thisdomain.com = 1.1.1.12 and 'A' Entry for my host name = 1.1.1.10. Before I clicked next, I read somewhere that I need to go to domain registrar before they will work. So I went to domain registrar where I bought my domain (not listed in the guide), I select configure domain, I choose create private nameserver for this domain (I believe this is the same one with the one mentioned in the guide), I fill ns1.thisdomain.com in the nameserver name, add one of my IP (1.1.1.11) and the second one ns2.thisdomain.com with IP (1.1.1.12). I click next on the configuration wizard and continue with the remaining steps with I feel comfortable with, and Finish.
** Am I doing the configuration correctly or not? Please comment it.
I start playing around with the configuration after I finish the wizard. Obviously I want to create a hosting plan for my domain (thisdomain.com) so I created a Package and then I 'Create a New Account' fill the Domain with thisdomain.com. I know that I have to change my nameserver in my domain registrar to ns1.thisdomain.com and ns2.thisdomain.com so that the domain will point to my new server. I went in to cPanel belongs to thisdomain.com and put simple index.html.
And now it already almost 3 days, but I still couldn't open thisdomain.com, I tried nslookup thisdomain.com on Windows but it return DNS request timed out which I believe it should point to my server IP (1.1.1.10).
I found 'Change Hostname' option and there's an instruction 'It is important to choose a hostname that you will not be using for any account.'
** Does this mean I can't web host thisdomain.com in this server because caniuse.thisdomain.com is subsequently a subdomain of thisdomain.com? Or I need register 2 Domains, 1 ONLY for cPanel and 1 for Front End (selling web hosting, etc)?
** Is hostname just a local name so we can use random name that is not registered in domain registrar? If that the case, can use caniuse.google.com instead if its local only?
Another question is about nameservers,
** In above scenario, I put ns1.thisdomain.com with 1.1.11 and ns1.thisdomain.com with 1.1.12 with no physical server. Do I need to build 2 seperate DNS server for cPanel to actually work? Or I just need add these IPs to IP Address Pool and assign it to both nameserver that I created?
Thank you for reading my lengthy thread, I hope someone could help me with my problem.
I just installed cPanel trial version on CentOS 6.2, I'm having difficulties in configuring my first cPanel Server especially in Nameservers section. I'm very glad if someone could help me in configuring cPanel but please bear with me if I made mistakes in my typo since my first language isn't English.
Firstly, when I installed my cPanel, I follow these steps one by one (Installation Guides) and I also used (Advanced Options: Pre-Installation) provided. I receive 3 public IPs from my datacenter : 1.1.1.10, 1.1.1.11, 1.1.1.12 with 1.1.1.1 as the gateway and 1.1.0.1, 1.1.0.2 are the DNS. I already bought a domain ONLY incase I need it for this setup, let's say the domain name is thisdomain.com.
Secondly, after cPanel installed on my server, I accessed WHM via https://IP:2087 and it took me to configuration wizard. Logged in with root and I continue to Step 1 clicked agree and in Step 2, where I begin to see where my problem is, the description is very clear until I reach Server Hostname field. In my understanding I have to put FQDN in the field so I change my default hostname when I installing CentOS from localhost.localdomain to caniuse.thisdomain.com. After that I fill the first and second resolver with DNS IPs given to me from datacenter, 1.1.0.1 and 1.1.0.2. Remember when I say 'problem' above, it's not a problem until I found 'Change Hostname' option in WHM later on.
After I finish the second step, I complete the third step flawlessly and then went on to the next step where I feel very uneasy whether I enter the configuration correctly or not. Actually the description is very straight forward, I put ns1.thisdomain.com into Nameserver 1 and ns2.thisdomain.com into Nameserver 2. I add 'A' Entry for both my nameserver ns1.thisdomain.com = 1.1.1.11 and ns2.thisdomain.com = 1.1.1.12 and 'A' Entry for my host name = 1.1.1.10. Before I clicked next, I read somewhere that I need to go to domain registrar before they will work. So I went to domain registrar where I bought my domain (not listed in the guide), I select configure domain, I choose create private nameserver for this domain (I believe this is the same one with the one mentioned in the guide), I fill ns1.thisdomain.com in the nameserver name, add one of my IP (1.1.1.11) and the second one ns2.thisdomain.com with IP (1.1.1.12). I click next on the configuration wizard and continue with the remaining steps with I feel comfortable with, and Finish.
** Am I doing the configuration correctly or not? Please comment it.
I start playing around with the configuration after I finish the wizard. Obviously I want to create a hosting plan for my domain (thisdomain.com) so I created a Package and then I 'Create a New Account' fill the Domain with thisdomain.com. I know that I have to change my nameserver in my domain registrar to ns1.thisdomain.com and ns2.thisdomain.com so that the domain will point to my new server. I went in to cPanel belongs to thisdomain.com and put simple index.html.
And now it already almost 3 days, but I still couldn't open thisdomain.com, I tried nslookup thisdomain.com on Windows but it return DNS request timed out which I believe it should point to my server IP (1.1.1.10).
I found 'Change Hostname' option and there's an instruction 'It is important to choose a hostname that you will not be using for any account.'
** Does this mean I can't web host thisdomain.com in this server because caniuse.thisdomain.com is subsequently a subdomain of thisdomain.com? Or I need register 2 Domains, 1 ONLY for cPanel and 1 for Front End (selling web hosting, etc)?
** Is hostname just a local name so we can use random name that is not registered in domain registrar? If that the case, can use caniuse.google.com instead if its local only?
Another question is about nameservers,
** In above scenario, I put ns1.thisdomain.com with 1.1.11 and ns1.thisdomain.com with 1.1.12 with no physical server. Do I need to build 2 seperate DNS server for cPanel to actually work? Or I just need add these IPs to IP Address Pool and assign it to both nameserver that I created?
Thank you for reading my lengthy thread, I hope someone could help me with my problem.