question about "hosted account"

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
I have one hosted account on my host server. Now this customer does not want to use our server to host his website, but he will still use our server to send/receive emails. He has found another hosting company to host his website. BTW, now he does not have webpages on our server. I think now i just need to point the ip address of his webpages to another hosting company, right? But i do not know how to do it? Anyone can help me? Many thanks in advance.
 

doubleg

Member
PartnerNOC
Feb 10, 2005
22
0
151
If they are using your name servers. You can change this in your WHM under dns settings for the domain. You'll need to setup an A record for the new Ip and an A record to point to the MX.

so it might look something like this

domain.com. 14400 IN A <IPADDRESSOFNEWSERVER>

The mx will or should look like this

domain.com. 14400 IN MX 0 mail.domain.com

with an A record that looks like

mail 14400 IN A <IPADDRESSOFCURRENTMAILSERVER>

hope this helps.
 
Last edited:

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
Thanks for your help. But i am not so sure about the other settings. So I just upload the snapshot(consultnj.png)of current settings. And could you tell me how should i change it exactly?
 

Attachments

doubleg

Member
PartnerNOC
Feb 10, 2005
22
0
151
well..

What dont you understand? If you raed it.. it should make sense.

Please let me know
 

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
Sorry for keeping ask you questions. Actually your instruction is very clear. Ok, let me ask you these questions.
!. I do not need to change NS and other settings, right?
2. How to test after changing the settings? I can test if send/receive email is ok. But how could i test the webpage is pointed to the new server?
 

doubleg

Member
PartnerNOC
Feb 10, 2005
22
0
151
well i assume your using a inux /unix server.

It should have a utility on it called dig. This is of course using ssh / console session.

you can qery your name servers directly after you've updated the dns...

its very simple

heres how it works.

dig domain.com @ipaddressofnameservers

you could do this.

dig domain.com @localhost

as long as your on your server. This will give you an answer where your dns is pointed for the dns name your look for.. so.. if you read my directions .. and do them properly.

dig mail.domain.com @localhost

and

dig domain.com @localhost

this should return your ips of choice that you updated... I'm no pro but It should work.. if it does not.. send a ticket to your web hosting company!
 

ljwhite

Well-Known Member
Jun 20, 2005
363
0
166
What i have done:
1. change: consultnj.com. 14400 in A 66.197.130.245
to:consultnj.com. 14400 in A 66.159.194.113
2. change: consultnj.com. 14400 in mx 0 consultnj.com.
to:consultnj.com. 14400 in mx 0 mail.consultnj.com.
3. change: mail 14400 in cname consultnj.com.
to:mail 14400 in A 66.197.130.245

comment:
66.197.130.245 is ip address of our server.
66.159.194.113 is ip address of other hosting company's server.

After this, i test using ssh(66.197.130.245 )
1.
-bash-2.05b$ dig consultnj.com@localhost

; <<>> DiG 9.2.3 <<>> consultnj.com@localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20227
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;consultnj.com\@localhost. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006071101 1800 900 604800 86400

;; Query time: 116 msec
;; SERVER: 66.197.130.245#53(66.197.130.245)
;; WHEN: Tue Jul 11 23:56:42 2006
;; MSG SIZE rcvd: 116

2.
-bash-2.05b$ dig consultnj.com@localhost

; <<>> DiG 9.2.3 <<>> consultnj.com@localhost
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20227
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;consultnj.com\@localhost. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006071101 1800 900 604800 86400

;; Query time: 116 msec
;; SERVER: 66.197.130.245#53(66.197.130.245)
;; WHEN: Tue Jul 11 23:56:42 2006
;; MSG SIZE rcvd: 116

Why is the result the same? I did not see the ip address is changed. Did i do something wrong?