-
Notifications
You must be signed in to change notification settings - Fork 88
.dev URLs and URL editing #365
Comments
Doesn't look like it, but you shouldn't need Instead, add the new .test host to your site in |
Thanks so much @tomjn for this info. I didn't know about VVV 2 and looking at it now, it looks fantastic. There's no need to use vv anymore for me. |
Is there a step-by-step anywhere on how to migrate VV created sites from VVV 1.0 to VVV 2.0? I am having a devil of a time getting it to work, particularly since I also need to change my .dev urls to .test . I've gone through VVV 2.0 migration and .dev docs but cannot get it to work. I guess I'll have to create a new VVV site and just re-add the files and re-import the database? |
@gleatherman there's https://varyingvagrantvagrants.org/docs/en-US/troubleshooting/vv/ but it's not exactly a step by step guide. E.g. in VVV 1 you had an nginx file that VVV would copy into the correct place, but Remember, at any point in VVV 1 and 2, you should be able to take a database backup, throw away the virtual machine completely, then reprovision. You might have to restore the DB but your code should remain, and VVV should have configured everything just as it was before based on your site. I expect the part you're having the most problems with is the nginx configs. Even if you create a site the VVV 2 way so it picks up the folder for your As an aside, to get My current favoured option is to have a JS powered form in the dashboard underneath the sites list that asks you questions then modifies the config for you, and tells you to reprovision, so there's no config editing required. That should be easier than using |
if you want your .dev sites to work on https you can click anywhere onscreen and type the phrase 'badidea' to skip the Chrome warning. Probably not a good long-term solution but this easter egg will get you up and running. |
Apparently, in an upcoming Chrome update, they'll start forcing .dev URLs to HTTPS, which will end up causing a few headaches for people.
I've been trying to figure out how to use vv to change the URL created on initial
vv create
, but haven't come across a way to do it yet. I know that I'll have to go search-replace the database separately, but I can't get Vagrant to accept my changes to the two nginx conf files I've found with my .dev URLs.So, two questions arise from this:
Thanks!
The text was updated successfully, but these errors were encountered: