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

Similar Messages

  • Pls Suggest server names for Reporting Server and Shared Services

    Hi,
    Can any one Pls Suggest server names for Reporting Server and Shared Services
    Thanks in advance.

    Report server name: OrclRpt
    Shared Services: OrclSS

  • How to create Same file names for source and target.

    hi
    Can any body send Procedure for below requirement.
    how to create the dynamic file names for a source and save the file with same name in the Target, because it has to identify that which sender had sent the file and the target file should be again sent back to the customer as a link.
    Please help me.
    Thanks

    Hi,
    See the below link
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - sender file name as receiver file name
    Regards
    Chilla

  • How to configure internet domain name for P6 website using weblogic

    After installing and configuring weblogic for P6 you get the following address https://servername:7002/console/login/LoginForm.jsp to access P6 website.  Anyone know how to configure a purchase domain such as www.mydomain.com have it redirect to https://servername:7002/console/login/LoginForm.jsp Is this configured in weblogic server? If not, what is needed to redirect the purchased domain?

    HI
    You could have that domain resolving to/by some DNS servers and set up a load balancer / proxy to redirect every incoming request to that domain / site to your weblogic console.
    however , what is it you are trying to do? It is very unsual of redirecting/ using Domain names to redirect to wls consoles.
    could you explain your use case in detail please
    Sri

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • 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.

  • How to set a database name for fetching metadata?

    How can I tell an already-existing Connection what its database should be, in such a way that I can successfully get MetaData from the connection?
    If I use the following code, everything works fine:
         Connection connection;
         DatabaseMetaData metadata;
         ResultSet rs;
         connection = DriverManager.getConnection("jdbc:mysql://Localhost/archival", mUser, mPassword); // replace this line
         metadata = connection.getMetaData();
         rs = metadata.getTables(null, null, "%", null);
    But if I replace the fourth line above with these three lines:
         connection = DriverManager.getConnection("jdbc:mysql://Localhost/", mUser, mPassword);
         Statement stmt = connection.createStatement();
         stmt.execute("USE archival");
    then I get a SQLException "Incorrect database name: ''". I would really prefer to factor my getConnection() code so that it doesn't have to know what the database-name is, but in order to do that I need to be able to set the database-name after the connection has been created, and still get MetaData on the connection.
    TIA for any help!

    Umm I probably totally don't understand the question, but you can change the name in the IDE,
    and in code you can name it to whatever you want
    Dim WhatEverNameIWantToGive as new button Dim secondbutton = WhatEverNameIWantToGive
    or maybe you mean
    public class mybutton
    inherits button
    'your custom code here
    end class

  • How to set up a server for PPro editing (and AE finishing)?

    Hello everyone,
    I may be a bit offtopic with this question, but at the same time it's really related to PPro.
    I never worked in any post-house facility, and I come from a very indy background, so I never had a chance to see any edit suite hook up to a server.
    I am wondering how great it is, how it could help our projects? And also what are the basics to know, the stuff to avoid when you're a newbie like me (in term of server network settings)?
    Right now, we're running 3 Mac Pros to edit our projects. They are all connected through Gigabit ethernet.
    Our workflow involves that all Mac have the entire footage in there own drives. We're using the network only when importing new content to copy it on the 2 other Machines.
    We found out that if we use Mac #1 to open a PPro project contained within Mac #2 drives (as well as the footage), it's okay but the performances are not as great as opening a project in its own drives.
    So we try to copy (move) the projects in the right Mac before to work on it. Of course, everytime, we have to relink everything if we don't want Mac #1 to read the footage from Mac #2…
    When it come to big projects, with lots of Red footage, it is a pain, and we usually end up using only one master machine for the edit, and it's only when it comes to finish in AE that we really start to split the project onto the 3 platforms.
    So this is where the idea of a server comes in mind. Mac #1 would work on a project A, then when moving to work on project B, Mac #2 could open project A and keep working on it - no relink: the project AND the footage are all on the server.
    That is my basic idea. Sound simple, but really I have no idea if it really works. Is it something I can really do on a server?
    How the server really helps to keep the performance? If I see PPro's performance lowering down when accessing projects and footage from our actual simple network, is it going to be better accessing the same datas from a dedicated server.
    I'm looking at the Mac Mini server with Lion Server. What Lion Server does that Lion OS doesn't do already?
    I know, it sounds like completely newbie questions, but I honestly have no idea.
    Can a Mac Mini with Lion Server serve the 3 Macs running Snow leopard? Or do we need to update them?
    My idea is to use Pegasus thunderbolts for storage drives, plugged in the Mac Mini, then plug all the 3 Mac into the Mac Mini, with what I believe should be Gigabit Ethernet…
    Am I right? A least a bit? What did I miss?
    Thanks in advance for sharing your knowledge guys
    Julien

    If you are going DIY route, this is your only option: http://magazine.creativecow.net/article/build-your-own-affordable-san-that-iworksi
    However that probably won't work with RED footage.

  • How do I cancel a payment for iCloud storage and contact Apple Support ?

    I made a payment for iCloud storage on 14/11/13 but I now would like to cancel it and get a refund. I tried Apple iCloud Support but it wouldn't accept the phone number. Does anyone know the Apple contact number (England - UK

    If you purchased it within the last 15 days, contact the Apple online store at the number listed at the bottom of this page.

  • How to set mac KEYBOARD shortcuts (for mac OS and windows OS)

    i am having a bit of an issue.
    i run windows 7 and mac os on the same computer on different hard drives in this computer. i also have a "mac" keyboard. i am not sure how this may be different from a "windows keyboard" but the point is i need to use this keyboard because it matches the one on my laptop which is a mac.
    when i switch to windows on this machine i always end up deleting information because the CMD + X and CMD + V cut and paste shortcuts on Mac OS are not the same in windows. windows requires (currently) CTRL + X and CTRL + V. so when i got to cut and paste in windows CTRL + X (this is my habitual way of working) and then i run a CTRL + V i end up writing /over/ the text i selected with a "x" and i end up pasting /over/ the text i selected to paste over with a "v". this is because instead of running a cut and paste, this set of shortcuts in windows simply enters "x" and "y" respectively since the shortcut is not active.
    does anyone know where i set these in windows OS and in mac OS?
    also, does anyone know if it is possible to set how many UNDOS i can do in either of these OS's or to know how many i can in fact undo?
    THANKS
    long story background:
    1. while i may move to a windows keyboard on the computer i am using (because the mac keyboards these days end up losing keys and they end up very wobbly) i cannot do this for the laptop machine so this may not make a lot of sense if i end up also running windows on the laptop which is my intention at some point.
    2. CTRL + X is a very long stretch on the mac keyboard so rather than switching mac shortcuts to accommodate windows shortcuts i am thinking to switch windows shortcuts to mac ATM.
    3. this is no small issue! i just went to copy and paste this text so i could save it for myself in order to explain to someone else and i ended up overwriting with a "c". if i had not thought fast and remembered to UNDO by hitting CTRL - X and not CMD - X i might have lost all my work.

    You don't necessarily need netcfg to get networking. But I used it before for my wireless on my laptop, so I just used the same on my desktop too. Also if you want to do things like this its easier rather than have to go digging around with macspoof and what not. your netcfg eth0 file could be something like
    PRE_UP='ip link set eth0 address XX:XX:XX:XX:XX:XX'
    CONNECTION='ethernet'
    DESCRIPTION='A basic dhcp ethernet connection using iproute'
    INTERFACE='eth0'
    IP='dhcp'
    If you use a different interface then obviously, you need to change it accordingly

  • How to set up SIP Proxy for comprehensive CVP and ICM mode

    Hello folks,
    My name is Eric and I'm facing some issues configuring a environment using the components below:
    - CM 8.6
    - ICM 8.5
    - CVP 8.5
    - SIP Proxy 8.5
    - VXML GW
    First of all, I always implement comprehensive mode environment at my customers (using CM, ICM, CVP, GW), but this is the first time that I'm using SIP Proxy, so the workflow change a lot. I've configure everything fine following Cisco's guides, my VRU PG's are ACTIVE, all the CVP services are UP, and the communications between the components are ok. Now I will explain below the workflow of the call:
    1 - When I call to a Route Pattern 9001, for exemple, this RP use a SIP trunk that sends the call to SIP Proxy;
    2 - At SIP Proxy Server I've configure a 9001 number in Route Table to send this dn to CVP Call Server;
    3 - The CVP route request ICM that picks this 9001 DN and run a script. After this, ICM returns the variables needed (media_server, media_lib, application name) and label to CVP using Send to VRU component;
    4 - CVP Call Server send this informations to SIP Proxy;
    5 - SIP Proxy sends it to VXML Gateway and I can see this calls reaching the VXML GW;
    6 - At VXML GW I've configured the dial-peer to reach my label (1234567890) and to calls the bootstrap service;
    The big problem is that the calls becomes mute after being answered, I think the communication between CVP -> SIP Proxy -> VXML GW are missing some steps because if I configure my CVP to work with ICM only (excluding the SIP Proxy Server) the calls works fine following the Local Static Route and goes to available agent or queue.
    If I'm using SIP Proxy Server, it's necessary to use Local Static Route or not at CVP? I think not because SIP Proxy will use the Route table to send the informations to the components. Another doubt is about ICM, for ICM is clear because the configuration is the same for use SIP Proxy or not, isn't?
    Thank you very much.

    Amir,
    I'm not using Ingress Gateway, I'm passing from CM Route Pattern to SIP Proxy, using SIP trunk.
    Saeed,
    - is your media file or the agent call, which one is silent or both.
    The media file is not prompted, so the calls becomes mute.
    - have you configured the routes for VXML VG in route table.
    Yes.
    - have you configured the rotues for UCM for agent's extension in route table.
    Yes
    When I call, I can see it reaching the VXML gateway, but doesn't prompt the audio and neither send the call to agent. The agent becomes reserved but the call are not delivered.

  • How: Using the same control panel for multiple vi and propogatin​g changes to the control panel.

    I have created a labview project that contains about 40 vi.  Each vi has a control panel in common that is a group of ip address, or port address, and settings that are passed from high level vi to low level vi for the purposes of controlling and accessing our daq cards.  As this control panel exist in all vi's and is required to be identical there is a problem when needing make a change or update the controls during development.  The problem is how much time it takes to go and change every single vi's control panel.  I wish to have a way of propogating a change in the control panel across all vi simultaneously.
    All control in the control panel are in a bundle, so all values are passed in 1 wire. 
    I tried turning the control panel into a sub vi, and this way I can just "create control" and have outputs of the vi maniuplate settings, however if I update the vi, I still have to go back and create a new control for each vi as the control has changed.
    I have tried using the subpanel and creating the control panel in a sub vi that is displayed in the subpanel, but this gives the unwanted consequence of not being able to view or change settings on the control panel if the program is not running, as subpanels blank out when the program is not running.
    Is there another way to dispaly a subvi's front panel beside using a sub panel?  Is there a better way to propogate changes in a bundle throughout a series of vi? 
    JW
    Solved!
    Go to Solution.
    Attachments:
    Labjack Comm Settings.vi ‏15 KB

    Yes a type def would help you out and I'd take the next step to make it a strict type def if you want the appearence to be the same across all of its instances. You can also review this Nugget on Type definitions for more idea on this topic.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to set-up new user for 9i OEm and OMS

    Apologies since this is a 10g grid control forum but I wasn't sure where to post these questions..
    I am trying to give a DBA access to our 9i OEM Repository so he can add his servers and databases for monitoring. I know he will need 'SELECT ANY DICTIONARY' and that I will need to create his user id in the Repo DB with DBA authority. Are there any other roles or privileges that he will need?
    Will I also need to place an agent on each server for the 9i OEM/OMS to discover it? Will the listenere.ora need to have the OEM Repository entries added?
    I searched the OEM Admin Guide but only found info on using the OEM Security Manager which I am not able to access.
    Thanks for your help..
    Sam

    Hang on, you have a 9i OEM OMS setup and you want to give x access to this so x can add targets onto the oms?
    If I've understood you correctly, you do not need to create a database account on the repository. You need to create a user on the OEM9i Console (probably a super admin to add targets is required) for x.
    A 9i or 8i agent is required for the OEM9i OMS to discover the target server and associated databases.
    9i and 8i agents require an entry in the listener.ora on the target server. You do not need an entry where you OEM9i OMS is.
    Download the 9i documentation, all this info is there.

  • 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

  • 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

Maybe you are looking for