Is there a way to host mail server for certain domain on different machine.
For example:
If I own website.com and it is hosted on PC1 what are the requirements to make mail.website.com and host it on PC2.
I am planning to use Linux Ubuntu-postfix-squirrel mail...
This is fairly normal.
In your DNS config you'll specify one or more MX record types - these are the hosts responsible for handling mail for your domain. Note that they do not need to be hosts in your domain - ie, you can pay MS or Google for mail service, and you'd set your MX records to point to the MS or Google server.
Then for the website portion, normal A or CNAME records are used to point to a host.
Related
I'll get straight to the point.
I have bought a domain. I want to host it on my computer, maybe on a raspberry pi since only 50 persons/month will visit it.
Anywhere I've looked I see two hosting methods, using IIS/WAMP/XAMPP to only create a localhost website or adding the domain to C:\Windows\System32\drivers\etc\hosts.txt that is also... localhost.
What is the magic answer here? How can I host LIVE a website with the domain that I have bought? Am I stuck to using a hosting service? Am I missing something really important?
using IIS/WAMP/XAMPP to only create a localhost website
You need an HTTP server if you want to host a website. It needs to run on the computer you want to host the website from.
adding the domain to C:\Windows\System32\drivers\etc\hosts.txt
That's what you do as a poor man's solution instead of buying a domain name.
The Domain Name needs to be associated with a DNS server (and secondary DNS server) by your registrar.
Usually, a registrar will provide DNS hosting services as part of the deal.
The DNS server needs an A record pointing at the IP address of the computer running the web server. This IP address needs to be available to whomever is going to visit it (which almost certainly needs to be public facing) and should be static (unless you want to play games with very short TTL values and frequent reconfiguration of the DNS servers).
If you plan to host multiple different websites on the same server, you'll probably want to configure the HTTP server software to handle Virtual Name Hosting (whereby it pays attention to the Host header in the request and dynamically serves different content based on it)
I came into a struggle the last few days.
Using WAMP Server and following this Tutorial I set up a local email environment, and I wanted to make the emails reach accounts outside of the local host.
I heard you need to make some changes in the DNS zone, so here is my DNS Zone at Freenom.
Is is possible to make emails sent from a computer using hMailServer reach the outside world through a domain?
Thank you for your time.
It is possible but it depends on your Scenario.
If you are behind a Router or a NAT or a Dynamic IP-Address it's almost not possible
to run a real World sending SMTP-Server and you shouldn't
If you have a Hosting plan (your own Windows V-Server or Root server) with Remote Desktop
access and a static ip address it's and access to the DNS-Configuration of your Internet Domain, it is possible and recommended.
1) First you need to setup a DNS A Record which points to your static IP in DNS
2) You need to create DNS MX Record which points to your A Record
Now you can add a new hMailServer Domain and add accounts and sent Emails
out. But you should setup a DNS A Record for IMAP or POP3 as well so you can
Receive Emails and not only sending.
My client have a dedicated server on liquedweb cloud service and we my web app is hosted on that server. We want our users to map their domain to our server. So they can enjoy our web app by using their domain name. What information I need to provide to my user so he can map domain and what information I need from them?
I don't know much(in fact anything) about domain mapping
thanks
It depends if the server has a dedicated IP address or is natted.
If the server has a dedicated IP address you can ask your clients to point their entire domain to you server by adding the following A records:
Host TTL Protocol Type IP Address
# 300 IN A 1.1.1.1
www 300 IN A 1.1.1.1
Not all domain hosts ask for TTL,if not dont worry about it.
If you want just their subdomain to point to your server (subdomain.website.com)
subdomain IN A 0.0.0.1
TTL is optional in some systems, in this case the default will be used.
Generally it is recommended that you use an IP for the Apex record and not a domain name. EG: example.com is the apex, www.example.com is the www subdomain.
A typical configuration would be below:
Host TTL Protocol Type Result
# 300 IN A 1.1.1.1
www 300 IN CNAME example.com
This is the same config as the top example but using CNAME example.com. It is the same as using A 1.1.1.1, it just means you only need to change one record.
If your server details are a hostname and not an IP address, most systems will not let you use the hostname for the apex so you will need to find out the IP address. (A simple method is to use the nslookup command or dig command).
TTL is how long in seconds a record last before it expires. If you are unsure what you are doing I recommend lowering this so you can correct mistakes more quickly.
Different methods for the different servers. For most of the servers, you have to change the nameservers of your domain.
This mostly needs when your domain registrar and hosting provider both are different.
First Login into your hosting account, navigate to the account details,
then copy the nameservers from there...which would be like :- dns1.hostingprovider.com
dns2.hostingprovider.com
After that, Go to control panel of your domain. Navigate to the nameservers
You will see the link:- dns1.domainregistrar.com
dns2.domainregistrar.com
Paste the above links at the place of below links.
They need the IP address (and possibly instructions on how to configure their DNS servers (which means a variety of different sets of instructions for different servers and control panels)).
You need the domain name.
My company hired a web development service to a company, we have our own domain name, but this web development company does not provide an e-mail service.
So I want to know if there is any possibility to set up (with BIND9, Postfix, etc.) our own email server with the same domain on our own server, other than the hired for the web development company.
For example, our website will be hosted on Server1 with the domain name www.exampledomainname.example; emails will be hosted on Server2 to type addresses like info#exampledomainname.example
We have Bind9 and Postfix in our server, what other tool we need? (if it's possible to do)
How must I configure the email server to accomplish that?
It's not a problem to use different mail server, you should just set the correct MX records in your DNS settings. You could read more at http://www.google.com/support/enterprise/static/postini/docs/admin/en/activate/mx_faq.html
I have a web server that runs my web application.
If I want to outsource my email to another provider, is it possible if they are on their on network/data center?
Yes. To do this, you will need access to the DNS records for your domain. The MX record allows you to set up a mail server that's separate from the web server.
Google offers a service that will manage your domain's email through GMail, and the instructions on how to reconfigure your DNS for this service can be found here.
Yes, this is possible.
You need to use the combination of "A" record and "MX" record.
"A" record will point to your web server where your application is hosted.
"MX" record will point to the server where you want to host your email.
A complete step-by-step reference on how to do this can be found here Hosting website and emails on different servers
It is possible no matter where they are located, as long as you have control of your DNS records. I have run many sites where the web server is located in our building and the mail server is at the customer's own site, connected with via an unrelated ISP. In one case the web server is in the USA, and the mail server is in the UK.
The DNS records can be on a different server again. Some registrars include editing DNS records in their interface, others just let you set the DNS to another server.
The records that determine the e-mail server are called MX records. They take the name of the mail server (not it's IP address). The records that turn names to IP addresses are called A records - you use these for "www" etc.
Google Apps does just that.