Support multiple Sub-Domains in CloudFront - subdomain

I have a CloudFront setup on AWS.
I want to support multiple sub-domains under it.
ex. test1.mydomain.com and hello.mydomain.com and so on.
But I don't want to use wildcard as it will start supporting anything in subdomain.
Is there a solution for this? Also, if yes, Can I apply that solution programatically, as and when I need to support a given domain?
Thanks

Related

Change dns values with chrome plugin?

I want to be able to achieve the same thing as you do with hosts but using a chrome plugin. I'm not sure if theres one available.
Essentially, I want to point a url to a specific IP address that's not listed on the web. I don't want to use the hosts file because I want to make this as easy as possible for my clients.
Is there a plugin out there or a solution that is contained within a web browser?
This is DNS:
I want to point a url to a specific IP address
However, this:
that's not listed on the web.
causes questions. You could generate random names in DNS to obfuscate what you're doing, but anything you present as a client based solution where the client doesn't have to do this work will need to be translated, whether you reinvent the wheel from scratch or use a solution that's already available.

Embedding website inside another

A customer asked to be able to call my web app from his domain for hiding my domain name.
I remembed that several years ago it was used to use an hidden iframe ... is there a more "modern" solution?
The only better solution is to actually host the site on the domain that you want it to appear on.
He might want to consider setting his DNS to point a subdomain at your servers if you are unwilling to install the application on his.

Is it possible to view ip addresses of chrome history rather than urls?

Is it possible to view chrome history as ip addresses rather than urls?
The reason is that in my history I have a site that is hosted on multiple servers and I want to pick out a particular one.
Thanks
Depending on what you really need to do, may be a sniffer is more suitable. I would use wireshark for example.
yes it is possible you can track your website with full details. You need to add your hosted website url in yahoo or google google webmaster tools.
https://www.google.com/webmasters/tools/home?hl=en
That will give you wonderful tracking result.

Work around for iFrame cross domain policy?

I have an iFrame and, understandably, I can't edit the elements.
Is there a work around for this, like using some sort of proxy? I would need it to work for any website and have things like sessions and cookie data persist (for logins etc).
Is it at all possible?
Nup, and you can't use CORS because it is only supported by XHR.
Same Origin Policy is going to stop you, and rightfully so.
If you could proxy the site through your own domain, protocol and port, it'd work, but that is often quite difficult.

How to get MAC address client side with js,flash,java or etc. with crossbrowser method

How can I get the MAC address (or something unique for each pc -at least standard user knowledge level-) from client side with js,flash,java or etc. using a crossbrowser method?
You probably know when we are coding a poll we should use cookies to prevent multiple voting.
I couldn't find a crossbrowser javascript method (without MS IEs activex). Javascript, java applet or flash files will be welcome.
Thank you
Caglar
There are no standard Javascript APIs for getting a mac address.
It is possible to get this information using a Java applet, but it would need to be signed and have a policy file in order to access hardware info, and it wouldn't really be transparent to the user. See Getting MAC address on a web page using a Java applet
If you just need to track a client, the most reliable thing you can do is use a combination of APIs available to Javascript to create a persistent cookie. It's possible to create a very resilient cookie using a combination of standard HTTP cookies, session storage APIs, caching tricks, and plugins. Evercookie is a great example: http://samy.pl/evercookie/
You can't do that with JavaScript. Otherwise any one can lure you to visit their website will be able to peek your MAC address, and that would be a security issue. You can only do it through plug-ins. And the browser will have to prompt user to explicitly allow that plugin first.