Answers.Body: <p>You can't use the domain .dev anymore, it's Google's gTLD (<a href="https://icannwiki.org/.dev" rel="nofollow noreferrer">https://icannwiki.org/.dev</a>) and they don't want to share. See <a href="https://medium.engineering/use-a-dev-domain-not-anymore-95219778e6fd" rel="nofollow noreferrer">https://medium.engineering/use-a-dev-domain-not-anymore-95219778e6fd</a> for a detailed backstory.</p>
  
  <p>Instead, you should use <a href="https://en.wikipedia.org/wiki/.test" rel="nofollow noreferrer">the TLDs reserved by the IETF</a> for this purpose, like <code>.test</code>.</p>
  
  <p>For reference, this is <a href="https://www.chromium.org/hsts" rel="nofollow noreferrer">the HSTS List maintained by Chromium</a> which is in turn the basis for the lists used by <a href="https://wiki.mozilla.org/SecurityEngineering/HTTP_Strict_Transport_Security_(HSTS)_Preload_List" rel="nofollow noreferrer">Firefox</a>, Opera, Safari, <a href="https://support.microsoft.com/en-us/help/3071338/internet-explorer-11-adds-support-for-http-strict-transport-security-s" rel="nofollow noreferrer">Internet Explorer and Edge</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T15:08:21.457Z
Answers.Text: I didn't set up my environment for SSL but for some reason when I type in the browser ttp.craft.dev it gets the https added automatically. Would that might be some hint?
Answers.UserDisplayName: LessMore Creative Studio
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T15:26:33.960Z
Answers.Text: Please try the solution on this question https://stackoverflow.com/a/28586593
Answers.UserDisplayName: hashtagerrors
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T15:33:20.473Z
Answers.Text: @hashtagerrors Not really? Chrome 63 (out since December 2017), forces all domains ending on .dev (and .foo) to be redirected to HTTPS via a preloaded HTTP Strict Transport Security (HSTS) header. This behaviour will be extended to other browsers over the coming weeks. Good luck with continuing to use .dev.
Answers.UserDisplayName: Seth Warburton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T15:37:08.440Z
Answers.Text: @hashtagerrors You are also ignoring the fact that this is a legit gTLD that you should not be using for local dev. There are specific domains defined for local dev, this is not one of them. It may have worked in the past, that does not mean it was ever the right thing to do; it wasn't.
Answers.UserDisplayName: Seth Warburton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T15:38:25.607Z
Answers.Text: @SethWarburton Yes you are right. I support you on this, that's why I thanked you for the information.
Answers.UserDisplayName: hashtagerrors
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T17:05:50.417Z
Answers.Text: So my problem was a browser issue as mentioned above. Works still in safari, fire fox and opera (the ones I have tested)
Answers.UserDisplayName: LessMore Creative Studio
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-14T10:20:21.463Z
Answers.Text: @LessandMoreCollective It won't work for long in those other browsers, when they are updated they'll include the updated HSTS preload list too, all major browsers use the same Chromium list.
Answers.UserDisplayName: Seth Warburton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-14T14:35:45.383Z
Answers.Text: @SethWarburton I've heard that, but haven't been able to find any documentation/verification of it. Do you happen to have a link or two?
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-14T16:16:42.630Z
Answers.Text: @BradBell Answer updated with some links :)
Answers.UserDisplayName: Seth Warburton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-14T17:04:04.493Z
Answers.Text: @SethWarburton brilliant... thank you!
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-13T13:09:37.173Z
Answers.LastActivityDate: 2017-12-14T16:16:08.107Z
Answers.LastEditDate: 2017-12-14T16:16:08.107Z
Answers.UserDisplayName: Seth Warburton
Body: <p>I am running into problems with virtual hosts while trying to run Craft locally.
  My setup was working perfectly and after a restart of my mac I get error messages and I don't understand why.</p>
  
  <p>I am using Mamp to run Apache and MySQL.
  When I am going to one of my virtual host url I get the following error:</p>
  
  <p><a href="https://i.sstatic.net/fkvFm.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fkvFm.png" alt="enter image description here"></a></p>
  
  <p>And when I type 'localhost' I get the following:</p>
  
  <p><a href="https://i.sstatic.net/4YU0V.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4YU0V.png" alt="enter image description here"></a></p>
  
  <p>I have double checked the <strong>httpd.conf</strong> and the virtual hosts is enabled and my <strong>httpd-vhosts.conf</strong> is set up correctly as well.</p>
  
  <p>I assume there is a certain issue with the virtual hosts as but I just cannot figure it out and it stop working without any changes/updates form my side so I'm really loosing it...</p>
  
  <p>Does any one has an idea where to start searching for the problem?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-13T14:59:26.760Z
Comments.Text: Please check if http://ttp.craft.dev/phpmyadmin is working
Comments.UserDisplayName: hashtagerrors
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-13T15:09:54.540Z
Comments.Text: Not working. http://localhost/phpmyadmin works
Comments.UserDisplayName: LessMore Creative Studio
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-13T15:12:25.947Z
Comments.Text: Then there is an issue with your virtualhost. Please double check it. Or try creating a new one.
Comments.UserDisplayName: hashtagerrors
Tags: <server><apache>
Title: Problems setting up a local site
ThreadText: # Problems setting up a local site
  
  (Asked by: username_0 on 2017-12-13)
  
  I am running into problems with virtual hosts while trying to run Craft locally.
  My setup was working perfectly and after a restart of my mac I get error messages and I don't understand why.
  
  I am using Mamp to run Apache and MySQL.
  When I am going to one of my virtual host url I get the following error:
  
  [![enter image description here](https://i.sstatic.net/fkvFm.png)](https://i.sstatic.net/fkvFm.png)
  
  And when I type 'localhost' I get the following:
  
  [![enter image description here](https://i.sstatic.net/4YU0V.png)](https://i.sstatic.net/4YU0V.png)
  
  I have double checked the **httpd.conf** and the virtual hosts is enabled and my **httpd-vhosts.conf** is set up correctly as well.
  
  I assume there is a certain issue with the virtual hosts as but I just cannot figure it out and it stop working without any changes/updates form my side so I'm really loosing it...
  
  Does any one has an idea where to start searching for the problem?
  
  **Tags:** server, apache
  
  > **Comments:**
  > **username_1**: Please check if http://ttp.craft.dev/phpmyadmin is working  
  > **username_0**: Not working. http://localhost/phpmyadmin works  
  > **username_1**: Then there is an issue with your virtualhost. Please double check it. Or try creating a new one.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-12-13. Score: 5 | Accepted answer
  
  You can't use the domain .dev anymore, it's Google's gTLD (<https://icannwiki.org/.dev>) and they don't want to share. See <https://medium.engineering/use-a-dev-domain-not-anymore-95219778e6fd> for a detailed backstory.
  
  Instead, you should use [the TLDs reserved by the IETF](https://en.wikipedia.org/wiki/.test) for this purpose, like `.test`.
  
  For reference, this is [the HSTS List maintained by Chromium](https://www.chromium.org/hsts) which is in turn the basis for the lists used by [Firefox](https://wiki.mozilla.org/SecurityEngineering/HTTP_Strict_Transport_Security_(HSTS)_Preload_List), Opera, Safari, [Internet Explorer and Edge](https://support.microsoft.com/en-us/help/3071338/internet-explorer-11-adds-support-for-http-strict-transport-security-s)
  
  > **Comments:**
  > **username_0**: I didn't set up my environment for SSL but for some reason when I type in the browser ttp.craft.dev it gets the https added automatically. Would that might be some hint?  
  > **username_1**: Please try the solution on this question https://stackoverflow.com/a/28586593  
  > **username_2**: @username_1 Not really? Chrome 63 (out since December 2017), forces all domains ending on .dev (and .foo) to be redirected to HTTPS via a preloaded HTTP Strict Transport Security (HSTS) header. This behaviour will be extended to other browsers over the coming weeks. Good luck with continuing to use .dev.  
  > **username_2**: @username_1 You are also ignoring the fact that this is a legit gTLD that you should not be using for local dev. There are specific domains defined for local dev, this is not one of them. It may have worked in the past, that does not mean it was ever the right thing to do; it wasn't.  
  > **username_1**: @username_2 Yes you are right. I support you on this, that's why I thanked you for the information.  
  > **username_0**: So my problem was a browser issue as mentioned above. Works still in safari, fire fox and opera (the ones I have tested)  
  > **username_2**: @LessandMoreCollective It won't work for long in those other browsers, when they are updated they'll include the updated HSTS preload list too, all major browsers use the same Chromium list.  
  > **username_3**: @username_2 I've heard that, but haven't been able to find any documentation/verification of it. Do you happen to have a link or two?  
  > **username_2**: @username_3 Answer updated with some links :)  
  > **username_3**: @username_2 brilliant... thank you!  
  
  ---
  
  