Custom Domain name for Azure virtual machine using azure websites

Hie, I am using a cloud service (e.g cloud1) and it has a hosted VM in it (Windows server 2012). It is having a URL cloud1.cloudapp.net. So I want to use the domain name (e.g azuresite1.azurewebsites.net)created from azure.
  So how do I add the Cname record and everything in this setup .
  I already tried to use
this but that didn't work
 What additional steps are required to add custom domain name to an azure virtual machine and, the custom domain name is also an azure website

If you want to use azuresite1.zurewebsites.net then i think, you have to create a azurewebsite. If you have a custom domain then following should work.
You have findout the IP that is attached to the VM. 
Point your domain name to that IP (using domain dashboard)
Now your domain points to whatever the site hosted on the VM (port 80)
If you have more sites then, you have specify HostName for the site which you want to use with domain name.
Try and let me know if this helped.

Similar Messages

  • How to set same domain name for Azure Storage and Hosted Service

    I have a web application running on azure and using azure storage with blob. My application allows to edit html files that are in the azure storage to save with another name and publish them later. I am using javascript to edit the html content that
    I display in an Iframe but as the domain of my web application and the html that I try to edit are not the same, I got and this error "Unsafe JavaScript
    attempt to access frame with URL "URL1" from frame with URL "URL2". Domains, protocols and ports must match".
    I have been doing some research about it and the only way to make it work is to have the web application and the html that I want to access using javascript under the same domain. 
    So my question is: is it possible to have the same domain name in azure for the hosted service and the storage.
    Like this:
    hosted service: example.com
    storage: example.com
    By the way I already customize the domain names so they looks like this:
    hosted service <mydomainname>.com
    storage <blob.mydomainname>.com
    Actually I have my application running in another hosting and I have no problem there since I have a folder where I am storing the files that I am editing so they are in the same domain as the application. I have been thinking in to do the same with Azure,
    at least to have a folder where I can store the html file meanwhile I am editing it but I am not sure how much space I have in the hosted service to store temporary files.
    let me know if you have a good tip or idea about how to solve this issue.

    Hi Rodrigo,
    Though both Azure Blob and Azure applications support custom domain, one domain could have only one DNS record (in this case is CNAME record) at one time. For Steve's case, he has 3 domains, blog.smarx.com, files.blog.smarx.com and cdn.blog.smarx.com.
    > I would like to find a way to storage my html page that I need to edit under the same domain.
    For this case, a workaround will be adding a http handler in your Azure application to serve file requests. That means we do not use the actual blob url to access blob content but send the request to a http handler then the http handler gets the content
    from blob storage and returns it.
    Please check
    Accessing blobs in private container without Shared Access Secret key for a code sample.
    Thanks.
    Wengchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact
    [email protected]
    Microsoft One Code Framework

  • Deploying Azure Web Site and Custom Domain Name

    I'm new to Azure and not at all familiar with the various methods of publishing to Azure via Git, etc. I belong to the old school of plain old IIS folder structures and uploading HTML files to Inetpub directory for deploying web contents.
    I have created an Azure web site at
    http://mysite.azurewebsites.net and have added a CNAME record on our DNS server to redirect traffic from www.mydomain.com to mysite.azurewebsites.net but to no avail. I have downloaded and installed the Azure
    PowerShell but can't seem to do anything with it. Any advice on how to configure the custom domain name for my azure web site as well as how to deploy contents to it, preferrably the old school way, would be much appreciated.
    Thanks!

    Hi,
    Azure web site support several development stacks, such as .net, node.js, php, python, and different stack has different deploy process, see more at:
    http://www.windowsazure.com/en-us/documentation/services/web-sites/
    refer to
    http://www.windowsazure.com/en-us/documentation/articles/web-sites-custom-domain-name/ for more information about how to configure the custom domain.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Custom domain name pointing issues

    Hi
    I've set my custom domain name for my webpages and it is working fine - www.domain.com points to my iweb site. But how can i make sure that domain.com (without the www.) also points to my iweb site? I know I could change settings on my domain registrar (godaddy) and create an A record but it requires an IP address to point to...
    Any ideas?

    But how can i make sure that domain.com (without the www.) also points to my iweb site?
    Please read the 3rd bullet on the godaddy instructions
    http://help.godaddy.com/topic/163/article/4100
    I know I could change settings on my domain registrar (godaddy) and create an A record but it requires an IP address to point to...
    If you want to do it that way, you use the IP for web.me.com You can find this at any of the countless websites which let you look up IP's.

  • Azure AD user name not using configured custom domain name

    I have configured a few users for Lync Online that I setup before I had custom domain name work with Azure AD.  Now I have the custom domain setup and verified and configured as the primary domain.  The users that were configured for Lync
    Online are still displayed with the *.onmicrosoft.com username in Azure AD.
    Is there a way I can change these users so their usernames use our custom domain?

    You can easily change the UPN via PowerShell:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
    If you want to do this in bulk for all users, you can use something like this:
    $all = Get-MsolUser -All
    $users = $all | ? {$_.UserPrincipalName -match "tenant.onmicrosoft.com"}
    $users | % {Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("tenant.onmicrosoft.com","domain.com")}
    Test it first against a single user of course :)

  • Help! Azure VM Web Server and Custom Domain Names

    I am going to be pretty basic here, so I apologize at the start ;)....We are attempting to setup a web server for our customer applications in Azure. We need to setup the website with multiple subdomains i.e. ourcompany.com is the main site but we will have
    customer1.outcompany.com, customer2.ourcompany.com, etc.... 
    I have a domain name registered with GoDaddy. I have a virtual machine up and running. I have a test website up and running and can access it externally ( the net ) so I do have endpoints figured out at minimum. 
    Example. the current virtual server is ourcompany01.cloudapp.net . Our registered domain name is ourcompany.com.
    Using our domain registrar,I am able to point ourcompany.com to ourcompany01.cloudapp.net.
    The problem is that I want our customers to see ourcompany.com not ourcompany01.cloudapp.net in the browser. 
    How do I make that happen and also allow for the subddomains?
    Any help would be greatly apprciated as I am under the proverbial gun to make this happen!!!!

    Hello ShapopoJoe
    You are right about making changes in your DNS Registrar. That is the last step that is suggested in the article:
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    And about createing the sub domains, you will need to use the IP address. Since you would be creating more than one subdomains for your 'www.ourcompany.com', you will need to map them to Reserve IP address.
    You can refer to this link for creating more Reserve IP address:
    http://azure.microsoft.com/blog/2014/05/14/reserved-ip-addresses/
    Thanks.
    Syed Irfan Hussain

  • Windows domain controller in a virtual machine: how dangerous is saving its state for a short period of time?

    I have a Windows Server 2012 R2 virtualization cluster. All the hosts are connected to an external storage system, and virtual machines' files are stored on external volumes (CSVs). All the hosts and virtual machines are a part of the same AD domain
    (mixed Windows Server 2012 RTM / 2008 R2 domain controllers). All the domain controllers are running in the virtual machines on the hosts of this cluster.
    To prevent problems when all the hosts are turned off and then on simultaneously (for example, because of a power failure) all the domain controller VM files has been placed on local disks of the virtualization hosts (not on the Cluster Shared
    Volumes). As Hyper-V services don't depend on other Windows Server services (except its networking components), it means that my domain controllers can always start, providing the virtualization host can start at all. However, it also means
    that those DCs cannot be (quickly) migrated to other hosts while their current hosts are being rebooted. So if I need to reboot a virtualization host to install new updates, for example, I have to shut down the corresponding DC, reboot the host
    and wait for the DC to finish cold boot and come back online. It means some interruption of service for our users, which, in turn, requires me to perform the reboots late in night.
    The downtime can be significantly decreased by saving the state of the VM in which the DC is running. However, all the articles I've found on the Internet strongly recommend against it. I'm trying to understand why this recommendation was issued in the first
    place. However, I'm unable to find a clear explanation. I've found some statements that saving state of a DC can cause serious AD replication problems because of tombstoning, and that the password of a DC computer account may be changed
    while the DC itself stays in the saved state, which could prevent the DC from connecting to the domain after its state has been restored. However, those considerations are non-significant when we discuss a short-time
    (5 to 10 minutes) saved state.
    I work with AD and virtualization long time, and I fail to see any danger in saving state of a DC for several minutes. In my opinion, after its state has been restored it would simply replicate all the AD changes from other DCs, and that's all.
    What's your opinion?
    Evgeniy Lotosh
    MSCE: Server infractructire, MCSE: Messaging

    Hello,
    as stated in "http://technet.microsoft.com/en-us/library/virtual_active_directory_domain_controller_virtualization_hyperv(v=ws.10).aspx"
    Operational Considerations for Virtualized Domain Controllers
    Domain controllers that are running on virtual machines have operational restrictions that do not apply to domain controllers that are running on physical machines. When you use a virtualized domain controller, there are some virtualization software features
    and practices that you should not use:
    Do not pause, stop, or store the
    saved state of a domain controller
    in a virtual machine for time periods longer than the tombstone lifetime of the forest and then resume from the paused or saved state.
    This may sound as it is supported to store it for shorter times and use it.
    BUT recommendation also from the Hyper-V Program manager in
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/11/24/the-domain-controller-dilemma.aspx recommends against using them.
    Also best practices
    http://blogs.technet.com/b/vikasma/archive/2008/07/24/hyper-v-best-practices-quick-tips-2.aspx
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • How to Use 'uid' for AD Users Without Domain Name For User Log in OAM

    How to Use 'uid' for synchronized Active Directory (AD) Users into Oracle Internet Directory (OID) Without Domain Name For User Logins in OIDDAS and OAM
    We successfully integrated OAM 11g with EBS R12.1.3 Now all the AD user id's stored in fnd_users table as [email protected]
    How can we remove @abc.com
    We are using OID 11g and OAM 11g
    Found the similar note for OID 10G: How to Use 'uid' for AD Users Without Domain Name For User Logins in OIDDAS and SSO [ID 580480.1]
    We are in OID 11g.
    Any help on this greatly appreciated.

    I couldn't find any reference that could be helpful -- Please log a SR and see if this is supported and if the steps are available.
    Thanks,
    Hussein

  • How to create a notification for new virtual machines created on Hyper-v Using SCOM or another way?

    Hi ,
    We need to  to create a notification for new virtual machines created on Hyper-v Using SCOM or another way
    thanks

    http://sincealtair.blogspot.com/2010/04/how-to-ask-questions-in-technical-forum.html
    Not nearly enough information.
    If you are asking about SCOM, it is better to ask in the SCOM forum -
    http://social.technet.microsoft.com/Forums/en-US/home?forum=operationsmanagergeneral
    .:|:.:|:. tim

  • Having trouble with creation of a cloud service with multiple virtual machines using java sdk.

    I am creating a cloud service on azure with 2 virtual machines using java sdk API. Service created successfully.
    My input endpoint details are as follows.
    INPUT ENDPOINTS
    Head : 191.238.144.47:2400
    Head : 191.238.144.47:22
    Node0 : 191.238.144.47:43211
    For Head instance port 2400 is for HTTPS and port 22 is for SSH and for Node0 instance port 43211 is for SSH.
    But I am having problem with doing a ssh on Head instance. Sometimes it works sometimes doesn't. Same problem with HTTPS also.
    I have some application running over there but when i try to access it thru browser sometimes it works but most of the time doesn't. When I restart the instances from azure portal, its works after
    that(not always but most of the time). 
    Now I am confused what is going on there. I am creating cloud service and virtual machines using java sdk and setting input endpoints also. After creation of all instances i restart every instance programmatically .
    I am not sure whether restart is required or not. It must be something to do with input endpoints only but not able to get the right thing i guess. When i do the same thing thru azure portal(creation of cloud service with virtual machines and setting up input
    end points) everything works fine but not achieving the result when implementing it by java sdk API. Please help me.

    HI Nithin,
    Thanks for your reply. I am setting the endpoints after creating my instances using update call. Here's the code snippet.
    AzureService aServ = new AzureService(session);
     if(aServ.checkNameAvailability(clusterName)) {
               aServ.createHostedService(clusterName, "dbX cluster");         
             // Creating head instance
             aServ.createHead(clusterName, imgName, headType, userName, pswd);  
            // Setting end points for head node
             String name = "ssh";
             int port = 22;
             aServ.updateVMInputEndpoint(clusterName, "Head", name, port);
             // Restarting head instance
             aServ.restartVM(clusterName, "Head");
           String roleName = "Node";
           String tmpRoleName = "";
           for(int i=0; i<noi; i++) {
                      port = 43210+(i+1);
                      tmpRoleName = roleName + i;
                   // Creating node instance
                    aServ.createVM(clusterName, tmpRoleName, imgName, nodeType, userName, pswd);
                  // Setting end points for node instance
                   aServ.updateVMInputEndpoint(clusterName, tmpRoleName, name, port);
                  // Restarting node instance
                 aServ.restartVM(clusterName, tmpRoleName);
          // Method to update the input endpoint details 
          public void updateVMInputEndpoint(String clusterName, String vmName, String name, int port)
            throws Exception {
                    VirtualMachineGetResponse resp = computeManagementClient.getVirtualMachinesOperations().
                                                            get(clusterName, clusterName, vmName);
                    VirtualMachineUpdateParameters updateParameters = new VirtualMachineUpdateParameters();
                    //get the configuration list
                    ArrayList<ConfigurationSet> configlist = resp.getConfigurationSets();
                    //get inputendpoint list and update it
                    ArrayList<InputEndpoint> endpointlist = configlist.get(0).getInputEndpoints();
                    InputEndpoint inputEndpoint = new InputEndpoint();
                    inputEndpoint.setEnableDirectServerReturn(false);
                    inputEndpoint.setPort(port);
                    inputEndpoint.setLocalPort(port);
                    inputEndpoint.setName(name);
                    inputEndpoint.setProtocol(InputEndpointTransportProtocol.TCP);
                    endpointlist.add(inputEndpoint);
                    // Open port for https on head node
                    if(vmName.equals("Head")) {
                            inputEndpoint = new InputEndpoint();
                            inputEndpoint.setEnableDirectServerReturn(false);
                            inputEndpoint.setPort(2400);
                            inputEndpoint.setLocalPort(2400);
                            inputEndpoint.setName("https");
                            inputEndpoint.setProtocol(InputEndpointTransportProtocol.TCP);
                            endpointlist.add(inputEndpoint);
                    updateParameters.setConfigurationSets(configlist);
                    //required for update
                    OSVirtualHardDisk osVirtualHardDisk = resp.getOSVirtualHardDisk();
                    updateParameters.setOSVirtualHardDisk(osVirtualHardDisk);
                    updateParameters.setRoleName(resp.getRoleName());
                    OperationResponse updtResp = computeManagementClient.getVirtualMachinesOperations().update(clusterName, clusterName, resp.getRoleName(), updateParameters);
    And every time i am creating a new cloud service along with head and node instances. Region is "South Central US".
    I am setting ProvisionGuestAgent field to true at instance creation time. Thank you.

  • Netbios/Partial Qualified Domain name for a Mac?

    Is it possible to set a Netbios/Partial Qualified Domain name for a Mac the way one sets it for a PC? If so, where can this be set? Apparently, this is what my router uses to report clients connected by DHCP.
    Mike

    that did not work - I have a name entered in the
    Sharing preference menu, and it does not show up.
    Did you try setting the "DHCP Client ID" in the Network pane of System Preferences?
    Even doing this may not work though... I know I had trouble getting a host name to show up correctly at my work. The DHCP server had picked up the previous name of my system and there didn't seem to be anything I could do from the client side to get it changed. The old system name was associated with my machines MAC address in the DHCP server and nothing I did from the client seemed to allow me to refresh the name the server had already latched onto. The network guys eventually had to delete the entry for my system off of the DHCP server and then allow my system to request a new IP address and refresh it's entry in the server. I have no idea how you might do something like this on a LinkSys router. I suppose the DHCP servers that run on these little personal routers are pretty rudimentary. I guess you might try doing some sort of reset on the router to see if it would reload client names. Or if you have your router configred to only allow connections from specific MAC addresses you might try deleting the entry for your Mac and then adding it back to see if that would trigger it to pick up a new client name.
    sorry; I started a new thread because my question
    is now much more focused. Someone told me the
    Linksys router gets that info from the netbios name,
    so I figured I should ask that specific question
    with that specific subject title - maybe someone
    knows how to specify this netbios name for a Mac,
    but might not know or care anything about routers
    and my specific problem.
    It seems understandable that PCs would send their NetBIOS names to a DHCP server... but it seems to me that a Mac would send it's "sharing" name. I doubt that a LinkSys router would specifically request a NetBIOS name, but I don't really know... I don't have any experience with them. I suppose you could try turning on "Window Sharing" in system preferences to see it that made you Mac look more like a Windows box to the router. :^\
    Steve

  • Web Sharing with custom domain name

    Hi,
    I am wondering if I can use a custom domain name with the built in web sharing. Instead of it going to http://10.0.0.2/ it will be http://www.mydomain.com/. Thanks in advance.
    Ryan

    I have GoDaddy hosted domain name which I have setup to forward all web traffic to my ISP provided web page (eg http://my.webpage.ISP.com/account-name).
    There is nothing magical about that URL. So I do not see any reason why you can not use your DynDNS.org name.

  • Domain name when my windows machine (pc) is on VPN

    Hi!
    Last week I had issue to get doman name Solaris machines and with the help of folks here I could solve the issue. After a gap of 1 week I have to work on the same assignment and now I have issue to get domain name when my windows machine (pc) is on VPN. It may be possible, with VPN I may not be able to get the domain.
    h1. What is needed?
    I am looking for a java Api which can return me "myCompany.com", when my PC is on VPN.
    Following if the out put of ipconfig
    C:\Documents and Settings\sgupta>ipconfig
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Ethernet adapter Wireless Network Connection 2:
    Connection-specific DNS Suffix . : guest.myCompany.com
    IP Address. . . . . . . . . . . . : 10.202.0.76
    Subnet Mask . . . . . . . . . . . : 255.255.252.0
    Default Gateway . . . . . . . . . : 10.202.0.254
    PPP adapter MyCompanytronix US Aventail VPN:
    Connection-specific DNS Suffix . : myCompany.com
    IP Address. . . . . . . . . . . . : 128.181.213.220
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . :
    h1. What is already tried?
    <ol><li>I have tried InetAddress API's but they return "global.myCompanytronix.com" from the local configuration.</li>
    <li>I also tried the following library to get the domain name and that fails to get the same.</li>
    <ol><li>[http://www.dnsjava.org/|http://www.dnsjava.org/]. </li>
    </ol>
    </ol>
    Kindly give me some clues if you have.

    Update-PROBLEM FIXED by verizon support. I called my local verizon wireless store, who quickly got me tech support after running through a few things. I didn't know you could disable power management for just one device, but verizon tech support did! So you go into device manager, expand universal serial bus controllers, right click the first "root hub", click the power tab, and see if your device shows up. If it doesn't, continue this process through all the root hubs until it does.
    When you find it, select it, and click the power management tab on the far right. Uncheck "allow the computer to turn off this device to save power". Restart the computer to save this setting. Then test it by putting the computer to sleep.
    It did take about 30 seconds until the pantech uml 290 was connected, but it connected successfully three times in a row. I'm very happy with both the verizon store and verizon tech support. They were both very helpful and pleasant to talk t, and efficiently resolved the problem. I still think you pay too much for mobile broadband, and am a little put off that the problem existed in the first place, but I'm very happy to have this problem resolved.
    One other piece of info. I got was that there is an upgrade, pantech 295 usb modem for only 30.00. So if I have any more problems I'll just try that.  (It's still a wired, not wireless device, which I prefer.)

  • How to change IP, Hostname and domain name for Oracle Application R12

    Hi,
    I'm new to Oracle, we used to have one production and one test server for Oracle Application R12, but the test server was corrupted, so we decided to clone production server and create a new test server, after cloning and creation of test server, how should we do to change IP address, hostname and domain name for test server?
    Our production and test server environment is:
    Linux Enterprise AS 2.6.9
    Application module: E-Business Suite Treasury only
    Your advice will be much appreciated.
    Regards,
    Kenneth
    Edited by: 850209 on Apr 7, 2011 5:37 PM

    850209 wrote:
    Hi,
    There are few tnsnames.ora and listener.ora files in the system, how to know which one are effective? If I change tnsnames.ora hostname entry, do I need to change listerner.ora file also?
    Thanks.
    Regard,
    Kenneth.tnsnames.ora is used only by client processes. listner.ora is used only to configure the listener, and that is a server side issue only. In addition, the listener can start without any listener.ora at all, using all default values. See my discussion of tns issues at edstevensdba.wordpress.com
    If you are using dbcontrol, you will most likely need to reconfigure it, using the emca utility.

  • How to set Netbios/Partial Qualified Domain name for a Mac?

    Is it possible to set a Netbios/Partial Qualified Domain name for a Mac the way one sets it for a PC? If so, where can this be set? Apparently, this is what my router uses to report clients connected by DHCP.
    Mike

    You're looking for something completely different if
    what you're after is to have your DHCP server (your
    router) report your computer name.
    yep - that's what I'm looking for but everything else didn't pan out so I'm following up the suggestion of our IT guy (which is that it reports the Netbios name).
    I don't know what brand or model of router you're
    using but with a Linksys brand router it reports the
    yep - I've got a Linksys, about 2 years old (802.11b).
    computer name, which is set on your Mac under Apple
    menu --> System Preferences... --> Sharing. The
    Linksys router will report the computer name
    typically found under Status --> Local Network -->
    DHCP Clients Table.
    nope - I've got it set as "Michael Levin Laptop", but the Linksys router shows it (and all of the other Macs on the network) as "¸#Єª"... Any way to debug this?
    What you'll notice is that none of this has anything
    to do with Windows. Today's basic networking is
    platform agnostic.
    I thought so; it was a desperation move, based on my IT person's suggestion...
    Thanks,
    Mike

Maybe you are looking for

  • PB G4 has IP but no internet

    After a recent software update my laptop went down. I had to reboot using the install discs. I'm finally able to log in but my wireless is not working. At first I had no IP Address, now I magically do. It reads: 169.254.206.139 But I can't connect. M

  • Installing DM11.5 under Win7 64bit

    Has anyone successfully installed and used DM 11.5 under Windows 7 64bit? I've tried it on two different computers (a laptop and a desktop) and in both cases when I try and "Open" or "Join" a workspace as soon as Studio tries to open a Windows Explor

  • Pixel binning/supersampling in manual mode?

    EDIT: This should be a quick, easy reply from a staff member.... why has this not been answered yet? Does manual mode use pixel binning or is this feature reserved for superior auto ? Will third party camera apps make use of pixel binning ? (Is it do

  • Creating a scenario

    Hello all, I want to set up the following situation in SAP. There are several businesses  - each with no more than 30 employees. Each of these employees must be tracked (HR). Time information would be collected for each employee. The thought was to g

  • Pre-purchase: Processor and HD choices

    I'm about to buy a new 15" MBP and am wondering if there's a significant difference between the 2.66GHz Intel Core 2 Duo and the 2.93 GHz. I do mostly text stuff, some photo work, and very occasionally some iMovie and GarageBand projects. Also, is th