Hosting email and website

D

Danieltbt05

Is it possible to hosting my own email server but hosting my website on
another hosting service but under 1 same domain name ? Can 1 domain
being pointed by 2 different IP , if my website being hosted by others
? I need to know the concept how it works before i setup. Thanks

Regards
Daniel
 
G

Guest

Yes it can. The DNS records for a mailserver and for a webserver are two
different records. The record for your mailserver is called an MX record.
If you call whoever is hosting your domain and tell them you need to set up
an MX record they will know what you are talking about. Then just point the
MX record to the IP address of your mailserver and you are all set. Actually
you can have many different records on the same domain for example.

MX_Record.domain.com =<one ip address>
www.domain.com=<another ip address>
support.domain.com=<another different ip address>

and so on. Hope this answers your question
 
D

Danieltbt05

Jean, i thought all is based on 1 domain name and 1 fix ip when
registered in the registrar. What do you mean by whoever is hosting my
domain? do you mean like network solution when i register my domain
name ? or the dns hosting provider or my authorized name server
provider for my domain ?

Rgds
Daniel
 
K

Kevin D. Goodknecht Sr. [MVP]

Jean, i thought all is based on 1 domain name and 1 fix ip when
registered in the registrar. What do you mean by whoever is hosting my
domain? do you mean like network solution when i register my domain
name ? or the dns hosting provider or my authorized name server
provider for my domain ?

The DNS hosting provider.
Many registrars give you access to an interface to add records. If NetSol is
your registrar, they may be hosting your public zone, and I know for a fact
they have a web interface for modifying DNS records.
Create an MX record, leave the name field blank, for the Data, use the name
of a host record that points to your mail server's public IP.(e.g.
mail.mydomain.com)
If you don't have a host record that points to the IP of your mail server,
you can also create one while you are at it.
You'll need a PTR record for your mail server's public IP address, that one
is a little more difficult because the PTR must be created on the DNS server
that hosts the reverse lookup zone for your public IP. That is usually, but
not always your ISP. (Smaller ISP's don't even own the IP address they lease
you)
A good way to test this is to go to www.dnsstuff.com and do a reverse lookup
on your IP address. If one does not exist, you will need to contact the
admin for the DNS server the PTR is delegated to.
 
G

Guest

Kevin,

What if one does exists? What next?

Kevin D. Goodknecht Sr. said:
The DNS hosting provider.
Many registrars give you access to an interface to add records. If NetSol is
your registrar, they may be hosting your public zone, and I know for a fact
they have a web interface for modifying DNS records.
Create an MX record, leave the name field blank, for the Data, use the name
of a host record that points to your mail server's public IP.(e.g.
mail.mydomain.com)
If you don't have a host record that points to the IP of your mail server,
you can also create one while you are at it.
You'll need a PTR record for your mail server's public IP address, that one
is a little more difficult because the PTR must be created on the DNS server
that hosts the reverse lookup zone for your public IP. That is usually, but
not always your ISP. (Smaller ISP's don't even own the IP address they lease
you)
A good way to test this is to go to www.dnsstuff.com and do a reverse lookup
on your IP address. If one does not exist, you will need to contact the
admin for the DNS server the PTR is delegated to.
 
G

Guest

What if a PTR exists? What if I already created the MX record pointing it to
my IP? What do I do then?

Thanks,
 
K

Kevin D. Goodknecht Sr. [MVP]

ManuelP said:
What if a PTR exists?
Where is the PTR?
Reverse lookups on Public IPs are only good if they are in the DNS server
that is Authoritative over the public IP, which is usually the ISP that owns
the IP address.
What if I already created the MX record pointing it to my IP?
For one MX records should not point to IP addresses, they should only point
to an A record. MX records for Publically available SMTP servers are only
queried if they are in the DNS servers listed on the Public record for a
domain.
What do I do then?
Well, if the PTR is in the authoritative DNS and the MX record is in the
authoritative DNS SMTP servers will look them up and send mail for the
domain to the SMTP server named in the MX record.


I'm sorry, but you this is very unclear as to what your question is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top