In general there are several things to look at if you cannot access your files through codeup.dev:
-
Is your vagrant server running?
I.e. what is the output of this code
cd ~/vagrant-lamp vagrant status
If it is not running go ahead and turn it on with a
vagrant up
-
Are your files in the right place?
Is the file you are trying to access in
~/vagrant-lamp/sites/codeup.dev/public?Remember that any files we want to accesss through
codeup.devmust be in thepublicfolder.Try this, and you should see the name of the file you are trying to access:
cd ~/vagrant-lamp/sites/codeup.dev/public ls
-
If the above steps don't work please shoot us an email (instructors@codeup.com) with more information, specifically,
- can you access other sites on
codeup.dev? E.g. can you go tocodeup.dev/hello_world.htmland see your hello world page? - If you got any errors when running vagrant commands please send us the error message you get.
- can you access other sites on