# Problem with httpd official image

**URL:** <https://forums.docker.com/t/problem-with-httpd-official-image/97739>\
**Category:** Docker Hub\
**Created:** [August 17, 2020, 5:55pm UTC](https://forums.docker.com/t/problem-with-httpd-official-image/97739 "2020-08-17T17:55:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukevad3r](https://avatars.discourse-cdn.com/v4/letter/l/b9e5f3/32.png) [@lukevad3r](https://forums.docker.com/u/lukevad3r)\
**Post date:** [August 17, 2020, 5:55pm UTC](https://forums.docker.com/t/problem-with-httpd-official-image/97739/1 "2020-08-17T17:55:29Z")

</div>

Please I need help!

I can’t make the Apache 2 httpd image work.

> **[httpd - Official Image | Docker Hub](https://hub.docker.com/_/httpd)**
>
> The Apache HTTP Server Project

my system:  
Linux Ubuntu Server 18.04  
Docker 19.03.6

In the description it says:

### Without a `Dockerfile`

If you don’t want to include a `Dockerfile` in your project, it is sufficient to do the following:

```auto
$ docker run -dit --name my-apache-app -p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4

```

so for testing purposes I did:

1. create a test user
2. made a www directory
3. createt a hallo world (index.html) file ind the www directory
4. docker run -dit --name test -p 4444:80 -v /home/test/www/:/usr/local/apache2/htdocs/ httpd

But when I try to reach localhost:4444 i only get: url not found

I checked in the Docker Image the www-directory is mounted and the html-file is in the folder

thanks for help

---

<div class="post-metadata">

**Author:** ![tekki](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/tekki/32/21884_2.png) [@tekki](https://forums.docker.com/u/tekki)\
**Post date:** [August 19, 2020, 6:18am UTC](https://forums.docker.com/t/problem-with-httpd-official-image/97739/2 "2020-08-19T06:18:33Z")

</div>

> [@lukevad3r](#):
>
> But when I try to reach localhost:4444 i only get: url not found

On some older browsers you have to enter `http://localhost:4444`.

---

<div class="post-metadata">

**Author:** ![lukevad3r](https://avatars.discourse-cdn.com/v4/letter/l/b9e5f3/32.png) [@lukevad3r](https://forums.docker.com/u/lukevad3r)\
**Post date:** [August 19, 2020, 10:28am UTC](https://forums.docker.com/t/problem-with-httpd-official-image/97739/4 "2020-08-19T10:28:02Z")

</div>

an update of the docker img. did the trick

SOLVED
