Discussion:
[vagrant-up] Cannot get any boxes to work - Always 404 error.
Travis Taylor
2018-11-07 00:45:56 UTC
Permalink
I've went through the getting started tutorial 3 times. Then attempted to
setup the following boxes:

- ubuntu/trusty64
- hashicorp/precise64
- ncaro/php7-debian8-apache-nginx-mysql

No matter what I use I always get 404 errors. I've tried putting html files
in the root folder, var, var/www, var/www/html. Nothing works. I've tried
putting "ServerName localhost" in the vhosts.conf file, no luck. I've spent
hours searching the web and reading through documentation; tried every
solution online and nothing works. I tried setting it up on a different
machine, no luck there either. What could I possibly be doing wrong?
Vagrant version

2.2.0
Host operating system

OSX 10.10.5
Vagrantfile

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, path: "bootstrap.sh"
config.vm.network :forwarded_port, guest: 80, host: 4567
end
Debug output

https://gist.github.com/tjtaylo/16f369bb21a8950777d4ed007bf27699
Expected behavior

Loaded index.html
Actual behavior

404 errors
Steps to reproduce

1. Getting started tutorial
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/2af81008-9758-46a3-a18e-ef4c34a4fbc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-11-12 20:53:47 UTC
Permalink
hello

put all the code in a github repo please

in that way will be easier to see the code you are using
Post by Travis Taylor
I've went through the getting started tutorial 3 times. Then attempted to
- ubuntu/trusty64
- hashicorp/precise64
- ncaro/php7-debian8-apache-nginx-mysql
No matter what I use I always get 404 errors. I've tried putting html
files in the root folder, var, var/www, var/www/html. Nothing works. I've
tried putting "ServerName localhost" in the vhosts.conf file, no luck. I've
spent hours searching the web and reading through documentation; tried
every solution online and nothing works. I tried setting it up on a
different machine, no luck there either. What could I possibly be doing
wrong?
Vagrant version
2.2.0
Host operating system
OSX 10.10.5
Vagrantfile
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, path: "bootstrap.sh"
config.vm.network :forwarded_port, guest: 80, host: 4567
end
Debug output
https://gist.github.com/tjtaylo/16f369bb21a8950777d4ed007bf27699
Expected behavior
Loaded index.html
Actual behavior
404 errors
Steps to reproduce
1. Getting started tutorial
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/2af81008-9758-46a3-a18e-ef4c34a4fbc2%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/2af81008-9758-46a3-a18e-ef4c34a4fbc2%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezDjy0D9duEMwiv04BANQgQe_9951vsuhTLz-uufveiEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...