Relate wordpress Ip with domain - dns

I have my WordPress hosted in this IP for example: http://46.102.133.215/project/public_html/
I'm using linux server.
I bought a domain and it is registered on NameCheap.
Now what should I do, I'm confused. This is my first time, which steps should I do to relate Ip with the domain?
Please help!

You can go through following steps to map your domain to your web hosting server.
1) Your web host must have provided you with the "New Account
Information" containing web hosting login information such as, FTP details, Nameservers, etc.
2) Grab the Nameservers and login to Namecheap control panel. Follow below tutorial and change the nameservers to those which are provided by your web host.
https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-can-i-change-the-nameservers-for-my-domain
3) Once you change the nameservers, DNS propagation may take few hours and your website will start resolving your web host. You'll be able to browse your website with the domain name itself.
4) To run a WordPress website on temporary URL, earlier you might have done the changes in WordPress Address and Site Address variables. You'll have to correct these changes.
5) Replace these entries with your actual domain name and setup. You can refer following tutorial to change these variables.
http://codex.wordpress.org/Moving_WordPress

Related

How do I achieve this 2 web addresses for one website. i.e. www.administrator.sitename.com and www.sitename.com?

I want to create a website where I want a normal web address for site visitors i.e. www.sitename.com and the administrator of the website should have a web address like www.administrator.sitename.com. How do I achieve this? Just to clear things out, site visitors do not have the feature to create their own accounts on the website. There is only one user that exists i.e. Administrator.
Any other suggestions for implementing this system are also appreciated. This system will be implemented using the MERN stack so, please provide references accordingly.
This has nothing to do with MERN Stack. You basically need to do two things:
Create a subdomain. This can be done by visiting your domain registrar (like goDaddy or any website from which you've purchased your domain).
Host the admin panel on the subdomain.
So, let's say you have purchased example.com from GoDaddy. Now, login to your account on GoDaddy and add a subdomain admin.example.com. Follow the guide on how to add a subdomain for your registrar.
For GoDaddy, read this.
For Namecheap, read this.
That's it. Now you need to host two different websites (one for users and another for admins) one on main domain and another on a subdomain of your choice.

Private Server On Google Cloud Platform and CloudFlare

I am little new to hosting and so I am confused for take step. My current situation is like below
I have one big wordpress site in site ground. Domain is from Godaddy and I am using CloudFlar. I want move this site on Google cloud Instance. So I have created Google cloud instance and have installed Cpanel/WHM. I have copied site on newly created cpanel account. Now My confusion is How I should change DNS for point my domain to Google cloud.
Domain on : Godaddy, Using CloudFlare : Yes, Current Hosting : Site
Ground, New Destination Hosting : Google Cloud, My Current Domain :
example.com
For More information I have setup host like host.example.com and NameServer as ns1.example.com and ns2.example.com on Google cloud. Let me know someone can help me for required step to change DNS so I can successfully move without downtime.
Thanks a lot.
You need to update the IP address for your domain in the DNS records which are hosted either with godaddy or with cloudflare. If you are not sure, do a dig NS yourdomain.com See which dns server's are coming. and accordingly make the change.

Adding subdomain on Namecheap for Shared IP SiteGround website

I have been figuring out how to accomplish this for a day now and read through a bunch of tutorials but could not make it work the way I wanted.
So my current set up is that I have a website that I registered the domain with Namecheap, let's call it mywebsite.com. The main app is hosted on Heroku, so both mywebsite.com and www.mywebsite.com is set up as URL redirect and CNAME to point to the heroku address. For example I have a CNAME record for www pointing to www.mywebsite.com.herokudns.com. This works fine and I would like to keep it that way.
I recently registered for a SiteGround service to set up my wordpress blog. I would like it to be accessible at blog.mywebsite.com. Most of the tutorial I have seen is to either migrate the domain to siteground so the wordpress site can point to the main domain or to point the namecheap DNS nameservers to the siteground one which I don't want to do neither because I do not want to redirect the traffic away from the heroku app.
I have tried to set up NSRecord according to Namecheap doc, I added the record for blog to point to ns1.siteground1111.com (the nameservers siteground provided) but when I entered blog.mywebsite.com it said server not found. I am on a SiteGround shared IP plan and I can see the blog if I visit ns1.siteground205.com/~myusername. However creating A record or CNAME requires bare IP and domain so I wonder if that's the issue.
My question is if my approach was correct in trying to set up the subdomain by creating a NSRecord on Namecheap pointing to SiteGround's nameservers. Or is it necessary for me to pay extra and get a dedicated IP address from SiteGround for me to point my A record for blog to.
Alternatively, I also have extra domains I am not using and I could set SiteGround blog to those domains and perhaps create a CNAME record for blog.mywebsite.com to www.myotherwebsite.com? That sounds like an overcomplication of the issue but I am not sure what to try at this point.
Really appreciate any help!
In Namecheap admin for your domain name mywebsite.com:
(1) Create an A record:
[type, host, value, TTL]
A, #, 1.2.3.4, 1min
where 1.2.3.4 is the Siteground IP address of your account.
(2) Create another A record:
A, blog, 1.2.3.4, Automatic

Configuring Google Domain to point to Azure website

I have an site hosted on Azure that I am trying to point a domain from Google Domains to.
My current configuration is as follows:
Name Type Data
# A XXX.XXX.XXX.XXX
www CNAME history-podcasts.azurewebsites.net
awverify CNAME awverify.history-podcasts.com
I am following the instructions from here: Configuring a custom domain name for an Azure Website.
When I go to the Azure portal to Manage Domain and attempt to enter the url in DOMAIN NAMES, I get the following message:
A CNAME record pointing from history-podcasts.com to history-podcasts.azurewebsites.net was not found. Alternative record awverify.history-podcasts.com to awverify.history-podcasts.azurewebsites.net was not found either
When I go to the URL for the domain, I get the following message:
The website you have attempted to reach is not available in this Microsoft Azure Web Sites region. This could be due to one of several reasons:
The web site owner has registered a custom domain to point to the Microsoft Azure Web Site, but has not yet configured Azure to recognize it. Click here to read more.
When a site owner wants to use a custom domain with a Microsoft Azure Web Sites website, Azure needs to be configured to recognize the custom domain name, so that it can route the request to the appropriate server in the region. After registering the domain with a domain provider and configuring a DNS CNAME record to point to the site's Azurewebsites.net address (for example, contoso.azurewebsites.net), the website owner also needs to go to the Azure Portal and configure the site for the new domain. Click here to learn more about configuring the custom domains for a web site.
This is the same configuration settings I am currently using for several domains through Namecheap with Azure hosting and they work as intended.
EDIT:
To summarize, here are the steps you need to take:
1) Create CNAME record redirecting user from your domain to Azure specified domain using tools provided by your DNS hosting service
This step will ensure that when going to www.history-podcasts.com user will transparently be taken to history-podcasts.azurewebsites.net
Type: CNAME
Name: www
Value: history-podcasts.azurewebsites.net
IMPORTANT: Please note that it takes time for DNS servers to update their records therefore you should wait around 30 minutes before continuing.
2) Redirect your naked domain to subdomain using DNS hosting service tools
This step will ensure that when going to history-podcasts.com user will be redirected to www.history-podcasts.com
For Google Domains you can follow this guide here.
3) Add your domain to Azure Website
This step will assure Azure that you own the domain and you want your site to be reachable using specified domain name.
Login into https://manage.windowsazure.com/
Navigate Websites -> [Your Website] -> Configure
Scroll down to Domain names
Click Manage Domains (note that custom domains can only be used when in the Shared, Basic, or Standard modes)
Add your domain www.history-podcasts.com
At this point you should be able to reach your web site using both history-podcasts.com and www.history-podcasts.com domain names.
If your website requires HTTPS, you will have to take extra steps:
http://azure.microsoft.com/en-us/documentation/articles/web-sites-configure-ssl-certificate/

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.

Resources