homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

HELP - Subdomain path

Msg#: 4481238 posted 1:10 pm on Aug 2, 2012 (gmt 0)

Not quite sure which forum these questions fit into, so apologies if this is the wrong one. Blessings to every one here.

I am uncertain about how subdomains work when it comes to paths to images. A layman level explanation on this will be appreciable. My hosting is with GoDaddy. So I am not able to figure out whether its a coding level tweaking which I need to do at my end or a server side tweaking.

Requesting inputs.



WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

Msg#: 4481238 posted 5:42 pm on Aug 2, 2012 (gmt 0)

You need to know two things:

The difference between relative links and absolute links


What happens behind the scenes in your subdomains.

The place for explanations of both questions-- often both in the same thread or even the same post-- is down the road in the Apache forum. You can try a Forums search and come up with mountains of hits, some of them sounding suspiciously similar.

Most important:
Normally subdomains involve rewriting, so the user sees "subdomain.example.com" but the page content really lives at "www.example.com/subdomain". (Other configurations are possible, but this is the most common.) Links refer to where the browser thinks the page is located. Requests for non-page material-- images, stylesheets and so on-- may or may not get rewritten along with requests for pages. Your host probably has a page of boilerplate explaining this part.

Do you yourself have to do anything in htaccess about the subdomains, or is it done by the host?


Msg#: 4481238 posted 5:52 pm on Aug 2, 2012 (gmt 0)

it is done by host.

For me I have to extract image by using subdomain path in an html file. Other wise the same subdomain path pulls the image file when typed in browser.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved