Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 03-02-2004, 06:57 PM
roniabirk roniabirk is offline
Hatchling Croc
 
Join Date: Feb 2004
Posts: 45
Default

Okay, I searched, but I couldn't find something like this.

My main account's domain is onthedial.com. I have the Swamp Croc w/ 1 add-on domain, so I used Cpanel to create the add-on domain mike-uhler.com. It is pointed to the subdirectory "mu" under my main account's public_html folder.

So my question is, what kind of paths do I use to make it understand that I am trying to access the image folder under mu? I have the index.html page set up to read a background image from a css file and there is an image in the page, but they both are broken. I've tried:

/mu/images/file.jpg
mu/images/file.jpg
/images/file.jpg
images/file.jpg


None of which seem to work. I want this to seem flawless to an outsider, so it's pretty important that I get these paths to work, lol. I am about to remove the add-on domain and re-add it or something. Maybe I added it incorrectly? I don't think the "Username/directory/subdomain Name:" is very self-explanatory on the Cpanel screen.

Any help would be great, thanks! Let me know if this isn't enough info.

~Dana
Reply With Quote
  #2  
Old 03-02-2004, 09:26 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Although it seems like the addon is a subdomain, it's really not. It is still it's own seperate domain with it's own seperate paths. So your path would just be mike-uhler.com/images/file.jpg

HTH
Reply With Quote
  #3  
Old 03-02-2004, 09:50 PM
roniabirk roniabirk is offline
Hatchling Croc
 
Join Date: Feb 2004
Posts: 45
Default

Hm, but that doesn't seem to explain why my images are broken. Does that mean I have to use an absolute path in all of my links and images?

Also ... my site seems to have gone down just now ... :?

Thanks again.
Reply With Quote
  #4  
Old 03-02-2004, 10:29 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

This is why your links are broken:

http://mike-uhler.com/mu/images/desktop.jpg

It should be

http://mike-uhler.com/images/desktop.jpg
Reply With Quote
  #5  
Old 03-03-2004, 07:12 AM
roniabirk roniabirk is offline
Hatchling Croc
 
Join Date: Feb 2004
Posts: 45
Default

Actually, I have tried that before. What you are saying is I would need to use a full URL to get the images and links to work, but that doesn't seem to be the case either:

Here are three examples -

Index 1 (uses src="images/">)
Index 2 (uses src="/images/">)
Index 3 (uses src="http://www.mike-uhler.com/images/">)


NONE of these work! So how are addon domains supposed to be handled? This is starting to really confuse me because I would've gotten a reseller account if I can't have two domains on this account that behave as if they are two separate web sites.

Thanks.
Reply With Quote
  #6  
Old 03-03-2004, 10:00 AM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

Well I noticed when I put the full link of the picture into my browser, it came up as it being forbidden for me to view. I would suggest checking your permissions on the pictures and make sure they're readable. It SHOULD be acting as two seperate domains with their own paths.
Reply With Quote
  #7  
Old 03-03-2004, 11:38 AM
roniabirk roniabirk is offline
Hatchling Croc
 
Join Date: Feb 2004
Posts: 45
Default

Thank you!! :lol:

That folder did not have "read" permission for the World, just user and group I think.
Reply With Quote
  #8  
Old 03-03-2004, 12:09 PM
angeleyz angeleyz is offline
Junior Croc
 
Join Date: Sep 2003
Location: Everywhere at once
Posts: 192
Default

You're welcome I can see the picture now, so it looks like that worked! :lol:
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with add on domain dbradby Shared Hosting Support 2 02-23-2007 04:21 PM
[Closed] Changing Main Domain name?? o0CAPPI0o Shared Hosting Support 2 07-30-2004 09:05 AM
[Open] Enom Domain Reseller Account pcincome Shared Hosting Support 4 05-22-2004 07:45 PM
Yow! E-mail getting hacked?! dcorwin Shared Hosting Support 1 12-03-2003 02:11 PM
mail to add-on domain ? izzy Shared Hosting Support 3 09-19-2003 11:50 PM

All times are GMT -5. The time now is 04:12 AM.