sub domain

tamino

Verified User
Joined
Jun 20, 2004
Messages
22
i created a subdaomain but when i access the site this way
"http://mydomain.com/us" i see the site fine but when i acces this way http://us.mydomain.com i cant see the site it says
"The page cannot be displayed " the site was working fine when we set up the domain a couple of days ago . can some one help with this issue.

Also another domain with similar problem on a different server when we assecc the site this way "http://us.mydomain.com" none of the images show up and when done this way "http://mydomain.com/us" site is fine.

thank you
Charles
 
Hello,

It's possible the sub domain hasn't resolved yet. Check to make sure that you have the A record in your dns settings for it.

Also, you need to make sure your images are accessed with the full domain url because images accessed with /images/1.jpg for domain.com will *not* be found in the same spot when accessed with sub.domain.com ... it would actually be looking in public_html/sub/images/1.jpg. So if you are using images from domain.com in sub.domain.com, you'd need to reference them with the full "http://domain.com/images/1.jpg" from sub.domain.com.

John
 
Back
Top