Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Css broken and Domain name.

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44141
    Garywald
    Member

    Hi 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?

    #131886
    pixelgrid
    Participant

    probably 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

    #131889
    Garywald
    Member

    Hello 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.

    #131891
    CrocoDillon
    Participant

    If 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.

    #131892
    Garywald
    Member

    Hi 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).

    #131894
    CrocoDillon
    Participant

    For 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?

    #131979
    Garywald
    Member

    Hello, 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.