Images are broken, 403 Forbidden

TanchitaJan

New member
Joined
Oct 31, 2020
Messages
1
I'm very new and this is my 1 try to make a webpage. My problem is that the images are not appearing (displaying the broken image icon instead). When I right-click and select “view image in new tab” I get a 403 Forbidden error. Could somebody help me ???
Thank you !
 
Seems you have the images configured in a wrong place, and/or you don't have read/write access to them.
However, this is a forum for Directadmin admins and resellers, not for customers.
The user level difficulties section is for admins and resellers have issues on user level which they need to get solved.

It's best you contact your host about this problem, because he can instantly see what permissions and rights his filesystem and your account has.
 
Hi, i have the same problem
i have domain mmm2.com and images load perfectly, but when i load the page trough the domain alias mmm.com all the image files are broken.
 
Your cause might be different. Broken images can have multiple causes. Best is to create new thread for it next time.
Anyway, it could depend on how the alias is created. If different positions are used, then it can be the images can't be found.
You should check the same way.
Right click image and check image properties or try to open in new tab and see what error you get.

Hard to be of help without the correct domain names.
 
Thanks for reply @Richard G
The way i created the domain alias is login as mmm2.com (user level) and then create the domain alias trough it respective section
When i load mmm.com it doesnt' show any image, if i go to developer mode i see the message:
Failed to load resource: the server responded with a status of 403 ()
For all type of images, gif, jpg, png...etc
So if i right click image load on a new tab, i'm able to see the image on the new browser tab.
 
Is mmm.com a real domain you're using? Because mmm2.com totally doesn't work in my browser.
And mmm.com is redirected to 3m.com so I presume that is not yours.

Status 403 is forbidden. It's odd, might be caused by some .htaccess entry. I have to see for myself if I can see what can be causing it.
On the other hand, I'm not a webdesigner, so I might not be able to find the cause.

So if i right click image load on a new tab, i'm able to see the image on the new browser tab.
And is it loaded then under mmm.com or in mmm2.com?
 
Right ones are: mmsam2.com, this one is working fine and is the main domain of my server with directadmin, and the alias domain is mmsam.com
This one is having the 403 problem with images.
 
Oke as said, I'm no webdesigner and I didn't check how an alias works, but if you have a seperate public_html for that, then that could be the reason.

Pictures are pointed at like this:
Code:
<a href="/tf-mango/"><img src="img/logo_medica_movil.png" alt="" height="83"></a>
By the way... that /tf-mango/ url does not exist on the server.

Anyway, seems the relative path is not reachable from the alias.

and then create the domain alias trough it respective section
Can you tell me the steps you took? Because there is no "create alias" section.

Also... why not using a redirect instead of 2 different domains for the same?
 
Thansk for the reply, I still have the stigma of cpanel, the right section is Dashboard / Domain Pointers, there i created the "alias" for mmsam.com
 
You're welcome.
I was already thinking that you did it that way but needed to be sure.
I used that option too, but did not tick the alias so everything is automatically redirected to the main domain.

If you use the real alias too like you do, then I think using the relative paths is the correct way to work. However, for some reason it does not load.
As I'm no webdesigner I don't know why. Maybe it's a WP issue or if you're not using that, something else.

Let's call in some help. @Zhenyapan or @Active8 any of you have a clue on why this goes wrong with aliases?
 
Back
Top