reactjs


Non index route giving 404 when hosted on server but works fine when routing to app in dev?


So if I hit http://chrisgregori.co.uk and click on projects it's fine, if I hit that URL directly when it's hosted it'll give me a 404 but works fine on local.
Do I need to set up some sort of specific DNS rules?
I'm using create-react-app and react router v3. No server side rendering.
I'm not super knowledgeable regarding hosting so I'm guessing I've just missed a step?
I'm hosting with Vidahost and cpanel if it makes a difference

Related Links

Typescript input onchange event.target.value
ReactComponentTreeHook unexpected : Webpack 2
ReactJS: Uncaught TypeError: Cannot read property 'subscribe' of undefined(…)
Draft-js apply inline-styles to readonly editor
About injectScript in WebView for React-Native
My flux store gets re-instantiated on reload
React Mobx - component not updating after store change
Property not found - flowtype / react, using this
Render React nested components
React.JS Navigating to hash route does not update view
react $ dosn't seems to work
React + Mobx: 'this' is null when trying to update store
React and Meteor Subscription
show image if stored date is not current date
Confused about an auth0 lock example using react and redux
Timers within react redux: Actions to track tick, or just start/stop

Categories

HOME
javafx
algolia
ldap
powerquery
yuv
psexec
atlassian-fisheye
subprocess
coding-style
kairosdb
http-status-codes
xmlhttprequest
github-flavored-markdown
bookmarklet
loader
android-wifi
lotusscript
klipfolio
email-client
procedural-generation
ps
expressionengine
uibarbuttonitem
concrete5
unity3d-5
incapsula
intersection
pyenv
pymunk
strategy-pattern
mongoid5
matrix-multiplication
nsdateformatter
mediastream
ssdp
sknode
aspnetboilerplate
php-mongodb
test-kitchen
web-technologies
result
codepen
taleo
amazon-fire-tv
piranha-cms
angular-fullstack
dcom
xamarin-test-cloud
selection-sort
try-catch-finally
dynatable
spring-social-twitter
alarmmanager
stripes
turbolinks
class-design
netlink
nd4j
music-player
instabug
askbot
opendolphin
ios8-share-extension
jcomponent
personality-insights
borland-c++
wingdb
xmla
crtdbg.h
pysvn
iphone-6
fedena
grunt-contrib-connect
react-os
traceur
rssi
email-headers
elixir-framework
windows-phone-store
mixradio
myrrix
typography
wpd
exi
junction-table
ftpwebrequest
reference-manual
bindinglist
fileoutputstream
visual-leak-detector
mismatch
object-tag
moss2007-security
rollover
text-manipulation
table-valued-parameters
helios
hotfix

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App