How to host your website images on an external server?

bknights

Well-known member
Registered
Joined
Jun 23, 2016
Messages
97
Points
8
I have a website about iPhone wallpapers which listed thousands of wallpapers on categories and its traffic is pretty much daily, my current hosting is loading slowly for images, I want to move these images to an external VPS but still keeping website files on the current VPS. How can I do that? I would like to know both methods for a custom site and Wordpress cms.

Thanks!
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Hi BKnights,

I would first find out what is causing the slow loading for images on your current VPS, switching to another server just for images could have little impact on performance.

Normal Site

Get a new VPS and install a web server on it
set up a new host in your domains DNS zone images.yourdomain.com (pointing at your VPS IP)

WordPress

WordPress does provide some basic FREE CDN solutions in the form of plugins. Pressbox plugin is worth looking at, it will load your images from your dropbox account.
If you need more than this a professional CDN is your only option.
 

UWH-David

Member
Registered
Joined
Jan 18, 2016
Messages
45
Points
8
Why not set your domain's www cname alias pointed to a free cloudflare account or even better yet, a subdomain cname alias such as cdn.yourwebsite.com and host your images there? Cloudflare would be the quickest way to perform this without recoding out your website.
 

UWH-David

Member
Registered
Joined
Jan 18, 2016
Messages
45
Points
8
I have a website about iPhone wallpapers which listed thousands of wallpapers on categories and its traffic is pretty much daily, my current hosting is loading slowly for images, I want to move these images to an external VPS but still keeping website files on the current VPS. How can I do that? I would like to know both methods for a custom site and Wordpress cms.

Thanks!
CloudFlare will be the easiest way to perform this hands down and can be done in only a couple of minutes. Static images are cached on remote servers around the world and performs exactly what you are looking for. It will also provide a layer of security for your WordPress installation which can be very beneficial in warding off script kiddy attacks. If you need any assistance with that I will be happy to help!
 

webhoster

New member
Registered
Joined
Jul 23, 2016
Messages
8
Points
0
Hi bknights,

Many shared hosting do not allow image hosting or image sharing scripts. You will need to check that if you want to host images on shared hosting.

For a simple website you can choose a VPS hosting to host your images. But you will need to manage all image urls to come from VPS. In addition, you will have to manage a VPS for hosting images.

One more way is to host your images in cdn. In this way also you will need to change all urls of images to cdn urls. You can use cloudflare, which gives free and premium access to cdn. This way your website will load much faster with images on cloudflare cdn.

For a wordpress site, you can use a free cdn for hosting your images. If you are laready using Jetpack, a Wordpress plugin, it have a module photon, which makes your site faster by hosting your site images on wordpress cdn servers.

Cloudflare can be used as a cdn for any website, simple or wordpress. It caches your website and keeps it on many servers located in different locations. When someone opens your website in browser it will get the pages from the nearest location and this will make your website pages much faster.

Thank you
 
Newer Threads
Replies
22
Views
7,927
Replies
10
Views
5,791
Replies
8
Views
8,961
Latest Threads
Recommended Threads
Replies
0
Views
1,178
Replies
1
Views
2,131
Replies
3
Views
3,151
Replies
5
Views
8,184

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top