Link a shared webhosting to an external domain - dns

I'm confusing on something!
If I map a domain with 1&1 with a shedhosting with bluehost. Do this means that I can manage my domain from bluehost ?
in other words can I manage my domain with 1a1 (emails, subdomains...) from my bluehost without transferring it.
Thanks,

Of course you can. By the default, your domain nameservers will use registrar nameservers, in your case 1&1 service. Simply login to your 1&1 account, then change your domain nameservers to bluehost nameservers. You can find your hosting nameservers in your hosting cPanel (I assume that bluehost use cPanel). Or, if you find a trouble finding the nameservers, simply contact bluehost customer service.
After change the nameservers, then check it first to make sure the changes was take effect, use http://who.is service. Then go to your bluehost cPanel, you can manage domain name directly from there, add/remove subdomain, change dns record (A Record, CNAME, etc..) and also your mail will functioned (I assume that bluehost give you an email hosting service in your hosting package).
NOTE: You don't need to transfer your domain to bluehost, you can have your domain registrar different from your hosting provider. The only thing you need to do just pointing nameservers to your hosting nameservers.
REMEMBER: All your domain record in 1&1 account will not functioned, you need to move it to your bluehost cPanel. All A Record, CNAME, etc in your 1&1 panel must be re-written in your bluehost cPanel.
I use this method right now, and everything is ok!

Related

Can I host my main domain and a subdomain of it in 2 different hosting services

Currently, my react web app is hosted in firebase hosting and pointed to my main domain (say mydomain.com) and I need a subdomain sub.mydomain.com point to my existing PHP project in another hosting service with a C-panel.
Not Worked : I added a DNS A record to sub.mydomain.com and point it to my Shared IP address located in cpanel. But my main domain also not worked after that.
Any solution to this, I know it's better if I can deploy both sites in the same domain, but for this temporary purpose, it's necessary doing this.
There is nothing complicated.
Let's say,
You will just have to add the A record of sub-domain in the DNS zone of the main domain. Make sure your main domain is using the nameserver of firebase hosting to work the main domain with firebase hosting and sub-domain with hosting service having cPanel.
After, you will have to add the main domain in cPanel, because cPanel will not allow creating the sub-domain without adding the main domain. Then create the sub-domain.
Note: As your domain uses the Nameserver of firebase hosting it shows the site content from the firebase hosting service and as you have to add the A record for the sub-domain using the IP address of the hosting service having cPanel. The sub-domain will show the site from your other service having cPanel.
You can find the Nameserver of your main domain at your domain name registrar. You can use any online tool to find the nameserver of your domain as well.
Put the comment if the above suggestion does not make any sense.

Domain registrar's DNS records vs web hosting DNS records

I bought a domain from Google Domains. I have an A record (on Google Domains DNS control panel) pointed to my server's IP. I had a www CNAME record pointed to mydomain.tld. To experiment with my hosting panel's DNS (I have VestaCP) I deleted the www record from Google Domains DNS panel. There was already a www A record on VestaCP DNS panel. I deleted that and added a www CNAME record pointing to mydomain.tld. And suddenly my www.mydomain.tld stopped resolving. I also tried adding a test A record but I couldn't ping `test.mydomain.tld'.
So, how does hosting panel's DNS work? Each time I add a new website (be it a sub domain or a new domain itself) VestaCP creates certain DNS records. Are these DNS records supposed to override the ones in domain registrar's DNS panel or vice versa? What are DNS records in VestaCP DNS are there for?
When you have your hosting and domain in one single server or with one provider, your domain DNS will be with your domain itself. You just need to point the A record to hosting IP. Your Nameservers will be the default.
If you have your domain with one hosting provider and domain with other then you need to change your domain Nameservers to hosting nameservers. Then your DNS will migrate to your hosting account. The changes you may do in your domain panel will not affect. You can change your DNS settings from your hosting account only.
Hope it helps.

Having problems creating MX records for subdomain on dreamhost.

I have a domain on dreamhost, say block.com. This domain points to an address outside of dreamhost (amazon AWS).
I also have a subdomain, us.block.com that is hosted on AWS. This subdomain is not registered on dreamhost (as dreamhost doesn't allow subdomains to be hosted outside of dreamhost). To point to this subdomain, I've added in a couple of custom A records to the DNS records on dreamhost.
Since the subdomain is not registered on dreamhost, it doesn't allow me to add custom MX records. Is there anyway to get around this? If there isn't, can I somehow point the mail server of us.block.com to that of block.com without using mx records?
You can do that with a little trick:
Domains > Manage Domains
Fully host your subdomain
Under "Web Hosting" find "Remove" and press it
Now you can edit custom MX fields for your subdomain
Tested solution from here

external domain to godaddy ultimate shared hosting

i have provided the following details to a domain registrar , my shared hosting account ip address, and the main domain's two DNS records which i copied from dns manager. i have added the domain in the hosted domains section and assigned a folder with a blank page in it. the domain is www.mahala.co.zw . i have gone to domaintools.com and looked up the domain and it shows its registered and returns the correct DNS records but when i visit the site it does not resolve. is there anything i missed on the godaddy side before i go back to the registrar. Please help
The best way to add an external domain to GoDaddy Ultimate Hosting is as so:
Add the domain manually in the domain section of your hosting. There is a section where it says "add external domain"
Wait about 2 hours and your domain will show as part of your domain list
Click the domain and go to the bottom of the page and then copy the now self generated DNS records (2 of them)
Apply these to the place you bought your domain (pointing your domain to these DNS records)
Go to your GoDaddy hosting, log in to the hosting account you want to use, go to hosted domains, and it should auto fill when you add the new domain name to the the list
You are done ! Good luck, God speed because GoDaddy is the worst when it comes to this process; I guarantee you none of their support section notes have such a step by step remotely close to this one I have written.

PaaS DNS Synchronization

I'm not exactly sure if this is more of a DNS question or the nature of most PaaS's.
I purchased a domain from namecheap.com. I wanted to get a WordPress site up and running so I could start development so I went over to openshift, created an account and installed WordPress, which was very easy! Only one problem... I'm having issues trying to sync my domain name from namecheap with the application on openshift. I must admit I've always purchased the domain name and hosting together so I've never had to go this route so I'm not entirely sure this has anything to do with the fact openshift is a PaaS.
In openshift, I have the URL for my application applicationname-account.rhcloud.com and I've added an alias on my namecheap.com account which works for a redirect... If I go to my purchased domain, www.example.com, it will simply redirect me to example-account.rhcloud.com. But I do not want a redirect...
I guess I'm confused as to how you get a domain name that you've purchased from one company to a hosting company. Do I need to modify something on my namecheap account?
This document states that you need to add a bare CNAME record to your DNS setup (may be what you refer to as an alias)
https://www.openshift.com/blogs/custom-url-names-for-your-paas-applications-host-forwarding-and-cnames-the-openshift-way
then add an alias to your Openshift application using the rhc command line tool, eg:
rhc alias add example-account www.example.com

Resources