Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8043027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:46:43+00:00 2026-06-05T04:46:43+00:00

I store my newsletters .html files in S3 and I have created a function

  • 0

I store my newsletters .html files in S3 and I have created a function that pulls the newsletters and puts them into iFrames.

My problem is I can’t set an auto height for the iFrames because I can’t read the content.

I have a plugin that works if the files are on the same domain. Can I set some headers to allow access from my sub-domain?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:46:44+00:00Added an answer on June 5, 2026 at 4:46 am

    S3 has a feature called “Virtual Hosting”.

    Virtual Hosting, in general, is the practice of serving multiple web
    sites from a single web server. One way to differentiate sites is by
    using the apparent host name of the request instead of just the path
    name part of the URI. An ordinary Amazon S3 REST request specifies a
    bucket using the first slash delimited component of the Request-URI
    path. Alternatively, using Amazon S3 Virtual Hosting, you can address
    a bucket in a REST API call using the HTTP Host header. In practice,
    Amazon S3 interprets Host as meaning that most buckets are
    automatically accessible (for limited types of requests) at
    http://bucketname.s3.amazonaws.com. Furthermore, by naming your bucket
    after your registered domain name and by making that name a DNS alias
    for Amazon S3, you can completely customize the URL of your Amazon S3
    resources, for example: http://my.bucketname.com/

    Try mapping your S3 bucket to your domain.

    See here for an example.

    Accessing S3 Buckets via Virtual Host URLs

    S3 provides two ways to access your content. One way uses
    s3.amazonaws.com host name URLs, such as this:

    http://s3.amazonaws.com/mybucket.mydomain.com/myObjectKey

    The other way to access your S3 content uses a virtual host name in
    the URL:

    http://mybucket.mydomain.com.s3.amazonaws.com/myObjectKey

    Both of these URLs map to the same object in S3.

    You can make the virtual host name URL shorter by setting up a DNS
    CNAME that maps mybucket.mydomain.com to
    mybucket.mydomain.com.s3.amazonaws.com. With this DNS CNAME alias in
    place, the above URL can also be written as follows:

    http://mybucket.mydomain.com/myObjectKey

    This shorter virtual host name URL works only if you setup the DNS
    CNAME alias for the bucket.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I store my templates as files, and would like to have the opportunity to
I would like to have a aspect of my site that users can use
STORE = { item : function() { } }; STORE.item.prototype.add = function() { alert('test
I store default nodes with binary data (3mb) on it. Change them and save
I store an NSMutableDictionary in a plist file. and when I read it into
I store some dates in my NSMutableArray, I want to retrieve them and change
I store file’s attributes (size, update time…) in database. So the problem is how
I trying to store the value of the input field tbEmail into str so
I have a problem constructing a mysql query: I have this table tSubscribers were
I have a MySQL statement in a function but somehow it doesn't work. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.