<p>Alec Ritson's comment solved the problem.  His advice was to try </p>

<pre><code>localhost/sitename/public/index.php/admin
</code></pre>

<p>In other words, I had to add index.php to the URL (after public but before admin) and then everything worked fine.</p>

CC BY-SA 3.0
2015-12-16T15:41:33.637Z
2015-12-16T15:41:33.637Z
Moshe
<p>I am trying to install Craft CMS 2.5 on a Windows 10 machine using WAMP 2.5.</p>

<p>I just downloaded both Craft and WAMP this morning — so both are fresh installs.</p>

<p>I believe I have done everything properly, but when I navigate to <code>localhost/sitename/public</code> I get the following message:</p>

<blockquote>
  <p>Service Unavailable</p>
  
  <p>Our site is temporarily unavailable. Please try again later.</p>
</blockquote>

<p>If I try navigating to <code>localhost/sitename/public/admin</code> OR <code>localhost/sitename/admin</code> I get the following message:</p>

<blockquote>
  <p>Not Found</p>
  
  <p>The requested URL /sitename/admin was not found on this server.</p>
  
  <p>Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80</p>
</blockquote>

<p>These are the steps I took when setting up:</p>

<ol>
<li>Created a folder in <code>wamp/www</code> called <code>sitename</code></li>
<li>Copied the <code>craft</code> and <code>public</code> folders into the <code>sitename</code> folder</li>
<li>Changed <code>htaccess</code> to <code>.htaccess</code> (using windows command line)</li>
<li>Created database in phpmyadmin</li>
<li>Updated <code>db.php</code> in <code>craft/config</code> folder</li>
</ol>

<p>(the only change I had to make was to add the database name — I left server as localhost, user as root and password blank.  I did change the tablePrefix to five different letters — i.e., no numbers or special characters)</p>

<p>I did NOT change the permissions on any of the app, config or storage folders for the simple reason that I do not know how to do that on Windows.  </p>

<p>Unless the permissions are the problem, then I do not know why I am having this problem.  </p>

<p>Any ideas?</p>

CC BY-SA 3.0
2015-12-15T13:47:48.527Z
Do you get anything if you do `localhost/sitename/public/index.php/admin`?
It looks like your doc root is not the public folder and your .htaccess file is what does the rewrite of your urls to make them 'pretty'
Alec Ritson
CC BY-SA 3.0
2015-12-15T17:45:08.677Z
@Moshe Can you add the solution that worked for you as an official answer?
Brad Bell
<install><installation><windows>
Trouble Installing Craft 2.5 on Windows 10 Using Wamp 2.5
# Trouble Installing Craft 2.5 on Windows 10 Using Wamp 2.5

(Asked by: username_0 on 2015-12-15)

I am trying to install Craft CMS 2.5 on a Windows 10 machine using WAMP 2.5.

I just downloaded both Craft and WAMP this morning — so both are fresh installs.

I believe I have done everything properly, but when I navigate to `localhost/sitename/public` I get the following message:

> Service Unavailable
>
> Our site is temporarily unavailable. Please try again later.

If I try navigating to `localhost/sitename/public/admin` OR `localhost/sitename/admin` I get the following message:

> Not Found
>
> The requested URL /sitename/admin was not found on this server.
>
> Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80

These are the steps I took when setting up:

1. Created a folder in `wamp/www` called `sitename`
2. Copied the `craft` and `public` folders into the `sitename` folder
3. Changed `htaccess` to `.htaccess` (using windows command line)
4. Created database in phpmyadmin
5. Updated `db.php` in `craft/config` folder

(the only change I had to make was to add the database name — I left server as localhost, user as root and password blank. I did change the tablePrefix to five different letters — i.e., no numbers or special characters)

I did NOT change the permissions on any of the app, config or storage folders for the simple reason that I do not know how to do that on Windows.

Unless the permissions are the problem, then I do not know why I am having this problem.

Any ideas?

**Tags:** install, installation, windows

> **Comments:**
> **username_1**: Do you get anything if you do `localhost/sitename/public/index.php/admin`? It looks like your doc root is not the public folder and your .htaccess file is what does the rewrite of your urls to make them 'pretty'  
> **username_2**: @username_0 Can you add the solution that worked for you as an official answer?  

---

## 1 answers

### Answer by username_0 on 2015-12-16. Score: 1 | Accepted answer

username_1's comment solved the problem.  His advice was to try 
localhost/sitename/public/index.php/admin

In other words, I had to add index.php to the URL (after public but before admin) and then everything worked fine.


---

