diff --git a/.dev/vagrant/provision.sh b/.dev/vagrant/provision.sh index 3f7ff489b..abb93dbe4 100644 --- a/.dev/vagrant/provision.sh +++ b/.dev/vagrant/provision.sh @@ -75,3 +75,6 @@ echo "You may use the default admin user to login: admin/Ptero123" echo "A normal user has also been created: user/Ptero123" echo "MailHog is available at http://localhost:58025/" echo "Connect to the database using root/pterodactyl or pterodactyl/pterodactyl on localhost:53306" +echo "If you want to access the panel using http://pterodactyl.app you can use the vagrant-dns plugin" +echo "Install it with 'vagrant plugin install vagrant-dns', then run 'vagrant dns --install' once" +echo "On first use you'll have to manually start vagrant-dns with 'vagrant dns --start'" diff --git a/Vagrantfile b/Vagrantfile index 515b75f13..ed4b5bd4c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,4 +15,7 @@ Vagrant.configure("2") do |config| config.vm.network :forwarded_port, guest: 8025, host: 58025 config.vm.network :forwarded_port, guest: 3306, host: 53306 + # Config for the vagrant-dns plugin (https://github.com/BerlinVagrant/vagrant-dns) + config.dns.tld = "app" + config.dns.patterns = [/^pterodactyl.app$/] end