- This topic is empty.
-
AuthorPosts
-
April 15, 2013 at 5:17 pm #44141
Garywald
MemberHi everyone!
I’ve been looking for hours and can’t find any solution so I’m calling for help!
Here’s my story, I’ve uploaded a perfectly functional website on my server (html, css and js working smoothly). Here’s how it looks http://www.gholubowicz.com/Chewbahat/One-pager/
BUT when I setup the domain name, the page is broken, Css not working neither the js scripts. (http://gholubowicz.com/Chewbahat/One-pager/download/chewbahat_broken.jpg).Dns is set up correctly, and the redirect of the domain name works fine (type chewbah.at and see, it works!) Any idea?
April 15, 2013 at 5:46 pm #131886pixelgrid
Participantprobably is the links to the stylesheets that cause the problem.try changing them to absolute paths like http://www.gholubowicz.com/css/style.css and not /css/style.css
April 15, 2013 at 5:54 pm #131889Garywald
MemberHello pixelgrid!
Thanks for your comment. Indeed I forgot to mention that, but I’ve tried http://www.gholubowicz.com/Chewbahat/One-pager/css/style.css and http://chewbah.at/css/style.css with and without the www.April 15, 2013 at 6:21 pm #131891CrocoDillon
ParticipantIf you open the network tab of the developer tools (in Chrome F12), and refresh the page, you should be able to see if the css files are requested, and what the server response is (if any). Maybe that will give you more info.
April 15, 2013 at 6:39 pm #131892Garywald
MemberHi CrocoDillon!
Ok, the inspect element tab says that no css file or js file has been found (404 error) when I’ve directed the domain name chewbah.at to the site. But when I use the http://www.gholubowicz.com/Chewbahat/One-pager/ address, the browser founds everything. I’m thinking maybe the .htaccess? But I’ve no clue how to correct it. (I mean I know where to find it, and how to edit it, but no clue what to write in).
April 15, 2013 at 7:03 pm #131894CrocoDillon
ParticipantFor me, chewbah.at redirects to http://chewbahat.tumblr.com/ for me so can’t test.
In the network tab if you click on the filename you can see in the header tab the request url, if you enter this url manually in the browser do you get the file or an 404 as well?
April 16, 2013 at 12:31 pm #131979Garywald
MemberHello, thanks for the help. I’ve found what it was… and it was stupid.
The domain name .at just doesn’t work with a U.S based server… I’ve transfered the website in Europe and it’s now working smoothly here: http://chewbah.at
Thanks for your help.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.