How to map a custom domain name with an Azure server? - wordpress

I know this question has been asked numerous times here but I still don't get the solution, sorry about that.
I deployed a wordpress multi site VM on my Azure account and purchased a domain name "https://jobinwrites.com" from Azure DNS service. I followed the instructions here to map an "A record" to the IP address of this Azure VM:
And this is how the overview of the Azure VM looks like:
When I hit the IP address of the machine or the jobinwrites.westus.cloudapp.azure.com domain, I correctly hit the service. However, when I try jobinwrites.com, the browser returns a DNS address not found exception. What am I doing wrong here? Thanks in advance.

According to your description, you want to map a custom domain name to your Azure VM, we should buy this custom domain name first.
Azure DNS is not the domain registrar.
We should login your 3rd party domain register configure page.
Each registrar has their own DNS management tools to change the name server records for a domain. In the registrar's DNS management page, add a new A record, like this:
Host type value
xxxxx A 104.42.230.37
If you want to add a CNAME record, please refer to this answer.

Related

How to change URL of Pivotal Cloud Foundry web application

I have just pushed a Spring Boot / VueJS application to Pivotal Cloud Foundry and was wondering how I change the URL for the website?
When I pushed the application they gave me a URL of http://crdeckhelper.cfapps.io/
I went to godaddy and bought a domain of crwardecks.com
How do I make my application run on crwardecks.com?
I currently have godaddy re-routing the person to the URL that cloud foundry generated for me, but this is not the behavior that I want.
I have read the documentation on Pivotal but for some reason it confuses me. I have also searched for this on the web but wasn't able to find a good resource.
There's a couple things you need to do.
Add your domain to Cloud Foundry. Run cf create-domain.
https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#private-domains
Map a route under this domain to your app. Run cf map-route <app> <domain> ....
https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#map-route
At this point, you'll have the domain and route set up in CF, but nothing is sending traffic to CF.
To send traffic to your CF, you need to make an adjustment in your DNS records. Again, there's a couple of options.
You can route traffic for just one subdomain to the app, by creating a CNAME record that points from your custom domain to the domain assigned by CF. Ex: CNAME: www.example.com -> crdeckhelper.cfapps.io.
You can route traffic for all subdomains with a wildcard. Again we use a CNAME record but this time we use a wildcard. Ex: CNAME: *.example.com -> *.cfapps.io (or you could use some subdomain, like *.sub.cfapps.io).
Both are described more here. Also, cfapps.io is part of Pivotal Web Services. If you use a different provider then your shared domain will be different.
At this point, you should have traffic routing to CF & CF should be routing traffic to your specific app. Your done & you can stop reading, unless you are trying to map a root domain to your app.
There's an edge case around root domains (i.e. example.com, not www.example.com), because DNS CNAME records don't work for a root domain. Some DNS providers support ALIAS or ANAME records, which work like a CNAME record for root domains. If your provider does, you can give it a try (see your DNS provider's doc for instructions on how to use). If not, see if your provider supports URL forwarding. Many DNS providers will automatically redirect HTTP traffic on the root domain to a sub domain you specify, like example.com -> HTTP 302 -> www.example.com.
For more on root domain setup, see Configuring DNS for Your Registered Root Domain at the following link.
https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#domains-dns
As a last resort, you could use an A record, but you need to be very careful because your CF providers may not have static public IPs, rather their IPs can change. If you use an A record and your provider's IP changes, traffic will stop flowing to your app & you'll need to update your A record to point to their new IPs (you can get your provider's IPs by running dig <app-dns> or nslookup <app-dns>. If you go this route, make sure you have monitoring to quickly catch when IPs change.
Hope that helps!

Point Arvixe Domain to GoDaddy Hosting

I have a domain in Arvixe and I want to point it to my Wordpress website hosted in Goddady.
I've tried to add that domain in my wordpress website and add the NS registers on Arvixe domain manager, but I found this error: Registry error, domain's nameservers not updated [Object status prohibits operation]
These are my DNS Register on Goddady:
And this is my domain area on Arvixe:
Did someone face this situation?
It looks like you are trying to change the name servers or delegate your domain to GoDaddy when what you actually want is to point www.yourdomain.bleh at your Word Press site hosted on GoDaddy.
In the Arvixe domain manager simply add a A record pointing to the IP address of your GoDaddy web server and make sure the site is configured on GoDaddy as www.yourdomain.bleh
Unless you want to move the control of the DNS to GoDaddy then you don't need to worry about the dns settings at all on that side of things.
The error you get from your dns provider hints that they may not let you change the NS entries freely. (May they charge or require further checks in place before its allowed)
I had to ask on Arvixe Support to point my domain to GoDaddy. So I informed the Register A and the Name Server to the attendant and he changed for me.

Link domain name with dynamic ip

I recently bought a domain name from Names.co.uk.
My home internet has Dynamic IP and I want to link this ip with my domain name.
Is there a way?
PS: I have a No-Ip.org account as well..
will this help to set everything together?
Thank you all for any help or advice
Kind regards
Yiannis
Can I Use My Own Domain Name with No-IP?
Upgrading to No-IP Plus Managed DNS lets you use your own domain
name(s) with No-IP.
To add your own domain visit our Managed DNS services page. You’ll be
prompted to add the domain name(s) that you want added to our system.
Pricing for this service can be found on our pricing page.

How to point domain to different host sub folder?

I have a host and domain on asphostportal.com, and I have a subdomain like: sub.domain.com.
Now my friend has another domain like frienddomain.com and he points to my host.
How can I point his domain to my subfolder sub?
Everytime he opens frienddomain.com, it will show my site on sub.mydomain.com. Currently he shows my mydomain.com sites.
Is this possible?
When you purchase hosting from hosting provider, they are always gives us Domain DNS Information like below:
Domain DNS Information
Domain Name Server 1: ns1.abc.xyz.com
Domain Name Server 2: ns2.abc.xyz.com
OR
Domain Name Server 1 IP: 2.1.17.146
Domain Name Server 2 IP: 2.1.12.56
Gives above DNS to your friend to update his existing domain DNS with yours DNS. Your friend would update it his domain purchase account and it will take 12-24 hours to update DNS. It depends on domain purchased company.
After successfully set your hosting DNS in your friend's account, you have to add your friend's domain frienddomain.com in your hosting control panel and point your sub folder as a root for domain frienddomain.com
Here are some reference links:
https://www.youtube.com/watch?v=Sva42KVt0-o
https://www.123-reg.co.uk/support/answers/Video/Domains/how-do-i-point-my-123-reg-domain-name-to-my-3rd-party-website-3874/
https://webmasters.stackexchange.com/questions/28148/point-domain-to-new-host-changed-nameservers-now-what
Please let me know if you have any questions.

Can I have 2 different DNs zones?

I have a wordpress blog hosted on blog.company.com, and now I'm trying to create a DNS entry on Heroku to get mycompany.com but I get the following error:
! could not create zone; already registered on Zerigo to a different account?
What am I missing herE?
Thanks
At a guess there's already an account on Zerigo that has the zone mycompany.com registered to it.
You can't (easily) have a domain hosted on two seperate DNS providers, you're best option would be to find the DNS host of blog.mycompany.com and setup a subdomain on the mycompany.com domain, eg www as a cname entry to proxy.heroku.com and then add www.mycompany.com as a custom domain on your heroku application.
The fact that you're getting the message about a duplicate zone, is Zerigo already hosting the DNS for blog.company.com perhaps? In which case login to the control panel for that (the zone is company.com) and add a record for your site.

Resources