Add domain as CNAME in Azure - azure

I try to achieve something like this.
My App runs on xyz.azurewebsites.net .
Now I want that the CNAME 123.azurewebsites.net redirects to xyz.azurewebsites.net
123.azurewebsites.net --> xyz.azurewebsites.net
I tried to add that CNAME in the Azure portal under custom domains put everytime I click "Add Custom Domain" I get the alert Message "Your unsaved edits will be discarded." And when I click "Ok" nothing happen.
In my notifications I get the message "Failed to add hostname 123.azurewebsites.net. 123.azurewebsites.net is invalid."
Is this a problem because I try to redirect from one "azurewebsites" domain to another "azurewebsites" domain or do I miss out something?

Adding a custom domain sometimes takes a long time to update. Check back in 20 minutes to see if the change has gone through. If you go to www.digwebinterface.com and type your custom domain name in, "xyz.azurewebsites.net" you should see that it has mapped it to your original host name, "123.azurewebsites.net".

Related

pointing domain name to blogger

I have purchased a domain name from a local hoster.
When I go to may panel it shows the following things.
Registered Domain
I want my blogger to point here. But I have no idea what to do here.My domain name is bropoint.com. Heres what blogger says.
Blogger Details
Any one could help me with this ? Thank you.
Note
- Depending on your Domain Provider, the process may vary.
In BlogSpot
Head over to Settings > Basics and you will see an option which says Publishing >Blog address > + Setup a 3rd party URL for your blog
After adding the domain name, it will give two CNAME records. Once you have these CNAME details, login to your domain control panel.
If You are Using InMotionHosting
Click the Advanced Zone Editor button in the Domains section.
Click the drop-down menu, and choose the domain you want to edit the DNS for.
Click the drop-down menu under Type, and choose CNAME.
Add the record like this
Similarly add the second CNAME also.
You should be able to see both the CNames then.

CNAME alias gets truncated in Google Domains

I'm trying to follow the steps on https://cloud.google.com/storage/docs/hosting-static-website to host a static website on Google Cloud Storage. The domain, "peek.solutions", I bought on Google Domains.
I'm at the "Creating a CNAME alias" part. On the Google Domains Registrar, in "DNS settings" and "Custom resource records", I added one with the NAME "www.peek.solutions". However, I noticed that after I click "Add" the NAME gets truncated to "www":
Also when I try to change it to "www.peek.solutions" with the "Edit" button, like so,
After clicking "Save" I still get the same truncated "www" name.
The problem with this is that according to the instructions, I'm supposed to create a Bucket with a name that matches the CNAME I created for my domain. If I try to fill in "www" in the "Name" field, I get "The bucket is already in use":
Why is Google Domains truncating the "NAME" field when defining a CNAME alias?
Try creating the bucket with the full name, so www.peek.solutions.
You've had to show you own the domain so you should be able to create this bucket.
Buckets namespace is fully global. So if someone in the entire world had the idea to name his/her bucket 'www', this means it's not available for every other person on the planet. Other naming requirements are listed here, but you should just name it www.peek.solutions
In this documentation under CNAME, google seems to only display www as well.
I suppose it's the right way of doing it, just not an intuitive way of displaying it by Google.
Either way you can still modify the CNAME setup once you've created the bucket, so just create it and see if it works!

Verify a domain name in Azure Active Directory

I have added a domain name to my Azure Active Directory account, but it says that the domain name is unverified.
In order to to verify the domain name, I go into my 'default directory' and go to the 'Domains' tab, where I can see my whatever.com domain name listed. I click it to highlight it and then click on the Verify button at the bottom bar and a box pops up: 'Configure domain for single sign-on', telling me to go to the "Directory Integration page and complete all steps..." There's also a checkbox, asking to take me to the Directory Integration page now. And that's it, except for the tick button in the bottom right.
The only option I have, is to be sent to the Directory Integrations page, with help topics that point to other web pages that do not necessarily reflect what I'm seeing inside the Azure Portal, in terms of verify domain names.
I understand that I need to create a TXT record on the domain name I have already purchased, and I can see from other screenshots that I need to find a value within Azure (somewhere) that has the value 'MS=xxxxxx' but finding out where to get that value from is proving difficult.
Am I looking in the wrong place for this?
In the current version of the management portal, the necessary verification information is only displayed if you do not check the option for "I plan to configure this domain for single sign-on...".
If you add the domain and leave that option unchecked, the next step of the dialog will display the MS=xxxxxxxxx value that you need to register as a TXT entry on your DNS server.
I believe the reason it's not displayed when you opt for single sign-on is that the value is meant to be retrieved as part of the AD FS configuration (or whichever STS implementation you will be deploying).
Check out this article: Quick Start Guide for Integrating a Single Forest On-Premises Active Directory with Windows Azure AD
In particular you are probably looking for the Get-MsolDomainVerificationDns cmdlet.
I don't have an AD FS deployment to verify this on currently, but I'd be very surprised if the TXT values differ between the two setups, so the first thing I would try is grabbing the value from the screens when the single sign-on is not selected and adding it to your DNS zone.
Hopefully, this points you in the right direction.
Edit: An updated article covering the updated management portal is now available: Add a custom domain name to Azure Active Directory
Type the below code into your Windows Azure Active Directory Module for Powershell
Get-MsolDomainVerificationDns -DomainName <domainName> -Mode dnstxtrecord
where domainName is the domain that you need to verify.
You will get a Label,Text And TTL. You need to add this to the DNS record of your domain(domainName) and then type the below code to complete the verification process.
Confirm-MSolDomain -DomainName <domainName>
Ofcourse you need to connect to your azure account before you verify the domain.
Connect-MsolService –Credential $cred
If you are adding a new domain:
Be sure you're in the "Domains" tab in the portal when you add your domain via the popup dialog.
Once it says it's successfully added, click the "right arrow" button in the bottom-right of the dialog
The second page should have the TXT record you need to add.
If you already added it and it's waiting to be verified:
Be sure you're in the "Domains" tab in the portal.
Select your domain with an "Unverified" status.
Click on the "Verify" icon at the bottom and it will bring up a dialog with the TXT record you need to add.

pointing my blogger domain to my own webhost

I just purchased a domain for my blogger blog through google(goDaddy)
Currently, it is pointed to blogger web host.
I'd like to point it to my own web host as well, so i can host files, while not losing my blog stuffs from blogger.
Is this possible? for a domain to have 2 web host?
I'm sorry, i'm really new to these domain and hosting, any help would be appreciated. Thanks!
You can keep your domain on your site and then setup a subdomain-- like blog.YOURDOMAIN.COM-- and point that to your blogger account.
Go to http://www.google.com/a/domainname, replacing domainname with your domain name.
Now you will need to login to your Google account utilizing a username and password you previously created specifically for Google Apps for your domain. If you do not know this information, click 'Can't access your account.'
Once logged in, click the 'Domain Settings' tab.
Click on "Advanced DNS Settings".
You will now see listed your Sign-In Name, Password, and PIN.
Click Sign-In to DNS Console and use the Sign-In Name and Password to login.
You should now be in the Domain Control Center. Click Forward, and then select Forward Subdomain.
In the Add subdomain field, enter the subdomain.
Select http:// or https:// depending on your server settings.
In Forward this subdomain to, enter the URL you want to forward the subdomain to. This will be the URL for your Blogger blog.
To view additional options, click Advanced Options, and then select one of the following:
Forward Only — Specifies the length of time for this forwarding setting. Select one of the following redirect types:
I am permanently forwarding my domain — Redirects to the site you specified in the Forward To field using a "301 Moved Permanently" HTTP response. The HTTP 301 response code tells user-agents (including search engines) the location has permanently moved.
I am only temporarily forwarding my domain — Redirects to the site you specified in the Forward To field using a "302 Found" HTTP response. The HTTP 302 response code tells user-agents (including search engines) that the location has temporarily moved.
Forward with Masking
Title — Displays at the top of the browser window and in search results.
Description — A short description of your website to display in search engine results.
Keyword — A list of comma-separated keywords that describe the content and purpose of your website.
Click OK.
The main domain you just continue to point to the IP of your web host.

Redirecting mail.example.com to http://mail.google.com/a/example.com

A domain name that we have is using google mail as its backend, but its not hosted anywhere (no website). How can I, through the registrar interface (I'm using 1&1), redirect ppl who type in http://mail.example.com to http://mail.google.com/a/example.com ?
I can create a subdomain and set its DNS/CNAME, but what do I put where? Also, if I make this change will it affect the existing mail delivery (for which everything is running fine presently).
It turns out it wasn't that tough... and the instructions are part of Google itself:
Dashboard -> Service settings: Email -> General:Web address -> Change URL
https://www.google.com/a/cpanel/example.com/CustomUrl?s=mail
Changing CNAME record
To use the custom URL mail.example.com, you must change the CNAME record with your domain host.
Sign in to oneandone.
Navigate to your DNS Management page. The location and name
of this page will vary by host, but
can generally be found in Domain
Management or Advanced Settings.
Find the CNAME settings and enter the following as the CNAME value
or alias:
mail
Set the CNAME destination to the following address:
ghs.googlehosted.com
Save changes with your domain host and click "I've completed
these steps" below.
You cannot redirect to a path (such as /a/example.com) using only DNS. DNS CNAME records can make mail.example.com/foo effectively point to mail.google.com/foo, but something more sophisticated will require HTTP redirects. This means you need someone hosting your web page for this to work.
Sorry.
If your registrar offers an "HTTP Redirect" option, you can use that. Some registrars do. If you use this, they're effectively running a minimal web server for you. Note that this may break SSL when users access your page via https://example.com.
Mail delivery is via MX records, which won't be affected by changes to other types of record (so long as you don't interfere with the DNS records for the domain's mail servers).

Resources