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 7006955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:32:37+00:00 2026-05-27T21:32:37+00:00

I’ve read a lot about how good it is to host images on a

  • 0

I’ve read a lot about how good it is to host images on a subdomain like “img.mysite.com”. I am using ASP.NET MVC 3 but I have no idea how can I save/remove an image on a subdomain. I would like to point out that I don’t want to use a subdomain as a subfolder in my website’s directory.
I’d like to know a general approach of saving an image to a subdomain when the subdomain can be even on another machine.

  • 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-05-27T21:32:38+00:00Added an answer on May 27, 2026 at 9:32 pm

    That allows you to scale and cache the images and application independently.

    First off, you don’t save images to a subdomain – that’s a DNS naming mechanism. You put images on a machines disk that has a web site pointing to that disk location, the web site has an IP address, and DNS has a name that resolved to that IP address. So, it’s just a problem of moving files to another disk.

    Getting images to that disk can be done via (1) FTP (2) http post (3) webdav (4) dropbox etc… etc… There’s a myriad of ways to get an image on disk.

    Your application site likely has a configuration setting on the name to prepend (images.mysite.com) to each static resource request.

    Another thing you should look into (and a key reason why separating out not only images but static resources) is CDN which is a content delivery network. Services such as Azure and Amazon offer them as well as popular services like Akamai. They specialize in servicing up static resources very fast and off load the work from your application servers. They are also geolocated so users pull that static resource from a location close to them. If you go that route, consider pulling other static resource (js, css, etc…) as well and give it a name like resources.mysite.com.

    Even if you don’t go the CDN route and even if you have one machine now, you can separate the two and provide a configuration setting for the resource DNS name so your code supports it and you can split, move, etc… the static resources at any point.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
I would like to run a str_replace or preg_replace which looks for certain words
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am trying to render a haml file in a javascript response like so:

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.