Page 1 of 1

Hosting images on Host

Posted: 2014-08-31 18:14
by Scribbyz
Okay, I'm pretty good a figuring out things with the use of the internet. But I've put my image files in my httpdocs, Godaddy's public_html I believe (At least that where the index.html file is, and I can't get my images to show up on my forums. Or by putting the link provided to show the image, but it asks for a account and password. I want them to be public, so I can post a direct link to my forums. I also use zetaboards for my forums. But every time I type in the link, http://example.com/pokemon/001.gif , it will simply just take me to my index page of my forums and not display the image.

I am simply looking for a way to upload my images to my http folder, receive a direct link that I can use with a BBCode * and it will display on a forum post. I have looked at a lot of topics on this forum, and Google searches on other forums. And I still can't get it figured out. I just want to host my own images, instead of using photobucket or some other image hosting site. I'm using Filezilla for FTP uploading.

Re: Hosting images on Host

Posted: 2014-08-31 21:26
by boco
Looks like you are using a forum host. That forum host does not allow uploading images to their servers directly (you know that probably). However, you might b e able to attach images to posts and link to them.

Further you mention GoDaddy, so you have a different webspace provider for the external content? If so, do you use any kind of redirection to your forums? Because it looks like a general redirection of all site contents, unwanted for the images. A specific redirection for the HTML files (or even only index.*) might tackle this issue.

Re: Hosting images on Host

Posted: 2014-08-31 22:01
by Scribbyz
Yes, my forum host is Zetaboards. I got the hosting, mostly because it was $1 a month, and I didn't want long direct links from photobucket.

Zetaboards gives you a link for your forums and hosts it on their servers. I'm not actually hosting the forums on my hosting plan with GoDaddy. I would like to host seperate images on GoDaddy's hosting, and direct link them wiht img tags to my forum. Mostly for shorter, and memorable img links.

So what are you saying? Make the forums something like, forums.website.com, with a redirection? I'm not to experienced with hosting and using Filezilla.

Re: Hosting images on Host

Posted: 2014-08-31 22:46
by boco
What I mean is that calling the image directly, using your (GoDaddy) URL redirects to the index of your forum. So there seems to be a redirection in place that takes visitors from your URL to the forum. Unfortunately it covers the whole domain, including all image URLs you might have.

-The URL you posted (that I had to remove) was the one for GoDaddy?
-Why does it redirect to the forum (hosting setting / .htaccess or a HTTP redirect inside HTML code)? Or did you setup DNS for the domain to resolve to the forum IP?
-Did you set it up?

Re: Hosting images on Host

Posted: 2014-08-31 22:52
by Scribbyz
I did have to point the DNS for the godaddy domain to the zetaboard forums. So it changes the domain from the one zetaboard provides, to the one I purchased thru godaddy.

Re: Hosting images on Host

Posted: 2014-09-01 08:00
by boco
And that's the problem. Since the DNS is changed the domain name points (via IP resolve) to the forum IP, not the one of the webspace.

That means, for linking to the images on the webspace you cannot use your domain URL (since it resolves to the wrong IP). You have to use the IP of your webspace directly.

Example from the OP:

http://example.com/pokemon/001.gif will not work, but http://192.0.2.78/pokemon/001.gif will, provided you replace the example IP with the real one from your webspace.

For using domain URLs, you could get subdomains (will cost $$$/€€€). So you could have http://img.example.com to get to your web space while http://example.com still points to the forum.

Re: Hosting images on Host

Posted: 2015-09-21 14:25
by murali444555
Hello, can anyone help me how to prevent images from messing the host provider?

Re: Hosting images on Host

Posted: 2015-09-21 18:07
by boco
Could you elaborate? I have no idea what you mean.