index.html in subfolder public_html blank when accessed
Right Now I'm putting the build folder vue website in the public_html folder. When I call the domain, the domain can run index.html and call the js and CSS files in it. But what I get is just a blank display on the website. But in local, its running just fine
From what you can see the difference when I run it locally is that the HTML link
and the website's CDN file doesn't call the file in css src:
Does anyone know how to solve the problem?
href="https://fonts.googleapis.com..."
and the website's CDN file doesn't call the file in css src:
url(https://fonts.gstatic. com/s/roboto/v30/KFOkCnqEu92Fr1MmgVxFIzIFKw.woff2)
Does anyone know how to solve the problem?
-
Hi Can you please check log sof server whet error you are getting. Also please ceck the file permission and ownership of file Regards 0 -
Hi Can you please check log sof server whet error you are getting. Also please ceck the file permission and ownership of file Regards
I Have preserved the permission file to 0644 for CSS and js file, 0755 for the folder. And from metrics -> error, from what I have observed there are no errors0 -
Are you able to manually visit the CSS file if you put that into a browser? 0 -
Are you able to manually visit the CSS file if you put that into a browser?
Yes, I can. What I see in index.html have
and in the CSS file havesrc: url(https://fonts.gstatic. com/s/roboto/v30/KFOkCnqEu92Fr1MmgVxFIzIFKw.woff2)
but cant get the nested url0 -
It looks like there's a space in the "src" URL string - could that be the issue? 0 -
It looks like there's a space in the "src" URL string - could that be the issue?
no, because I can run the web local. That's just pseudo code0 -
I'm not sure what could be causing that behavior - you may want to try disabling the firewall on the server temporarily to see if that is somehow blocking that connection. 0 -
I'm not sure what could be causing that behavior - you may want to try disabling the firewall on the server temporarily to see if that is somehow blocking that connection.
Where can I disable firewall in cpanel ?0 -
You would need root access to the server in order to do that work. If you don't have root access to the machine, you'll want to reach out to your hosting provider to see if they can help with this issue. 0
Please sign in to leave a comment.
Comments
9 comments