Page not found error 404

I’m not sure whats going on. Every time I try to create a page and press preview It looks fine, but when I press publish and I go to view my post It gives me the 404 error. I just Installed Multi-DB yesterday so I don’t know if It has something to do with that. Anyone came across this Issue?