# Apache

**URL:** <https://forum.kirupa.com/t/apache/186344>\
**Category:** Uncategorized\
**Created:** [April 20, 2006, 5:15pm UTC](https://forum.kirupa.com/t/apache/186344 "2006-04-20T17:15:41Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 20, 2006, 5:15pm UTC](https://forum.kirupa.com/t/apache/186344/1 "2006-04-20T17:15:41Z")

</div>

:cool: Anyone know how to change the IP to a HOSTNAME on apache??:cool:

I would be thankful if you do know!:beam:

and also can you check if this link works its my server without the hostname that i need [http://172.16.1.35/index.html](http://172.16.1.35/index.html)  
:alien2:  
Thanks

---

<div class="post-metadata">

**Author:** ![Seb\_Hughes](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@Seb\_Hughes](https://forum.kirupa.com/u/Seb_Hughes)\
**Post date:** [April 20, 2006, 5:18pm UTC](https://forum.kirupa.com/t/apache/186344/2 "2006-04-20T17:18:28Z")

</div>

Does anybody know what forum you should be posting in? oooo I know, is it the computer or codign forum?

---

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 20, 2006, 5:22pm UTC](https://forum.kirupa.com/t/apache/186344/3 "2006-04-20T17:22:13Z")

</div>

sorry

---

<div class="post-metadata">

**Author:** ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)\
**Post date:** [April 20, 2006, 5:22pm UTC](https://forum.kirupa.com/t/apache/186344/4 "2006-04-20T17:22:36Z")

</div>

Server side programming forum it should be in yes.

---

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 20, 2006, 5:24pm UTC](https://forum.kirupa.com/t/apache/186344/5 "2006-04-20T17:24:23Z")

</div>

Post Going to be deleted in: 1 Hour

---

<div class="post-metadata">

**Author:** ![andres](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@andres](https://forum.kirupa.com/u/andres)\
**Post date:** [April 20, 2006, 5:32pm UTC](https://forum.kirupa.com/t/apache/186344/6 "2006-04-20T17:32:22Z")

</div>

not deleted, just moved

---

<div class="post-metadata">

**Author:** ![nobody](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nobody](https://forum.kirupa.com/u/nobody)\
**Post date:** [April 20, 2006, 5:48pm UTC](https://forum.kirupa.com/t/apache/186344/7 "2006-04-20T17:48:11Z")

</div>

Everyone please stop spamming this thread. Thanks

---

<div class="post-metadata">

**Author:** ![Seb\_Hughes](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@Seb\_Hughes](https://forum.kirupa.com/u/Seb_Hughes)\
**Post date:** [April 20, 2006, 5:51pm UTC](https://forum.kirupa.com/t/apache/186344/8 "2006-04-20T17:51:59Z")

</div>

You are aware the link doesnt work.

---

<div class="post-metadata">

**Author:** ![Ankou](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ankou/32/1351_2.png) [@Ankou](https://forum.kirupa.com/u/Ankou)\
**Post date:** [April 20, 2006, 7:24pm UTC](https://forum.kirupa.com/t/apache/186344/9 "2006-04-20T19:24:14Z")

</div>

172.16.0.0 - 172.31.255.255 is for private use, which I take it means you’re asking for how to give that IP a name on your webserver. I ASSUME that because you put the link in your post. So even if you name the IP on your computer it’s not going to make a difference because no one outside your network (local network) would be able to get to it even with a name.

It’s like me saying that people should type in [http://localhost/](http://localhost/) and check out my site. It’ll only take them to their localhost if they are running a webserver.

What is it that you’re trying to set up here? Is it just a local webserver so you can test sites on? Or are you trying to set up your computer as a webserver that others can connect to?

BTW – if it’s for a local webserver and you just want to type in something like [http://myserver/](http://myserver/) then you need to make a change to the **hosts** file. You’d add something like:

```auto

127.0.0.1 localhost
192.168.1.102 DEBIAN

```

That’s how part of my hosts file looks like (for the server running on Windows XP). Two computers with their servers running – localhost is for the Windows computer and DEBIAN points to my Debian Linux box.

For the location of hosts files on your OS - Check here: [http://en.wikipedia.org/wiki/Hosts\_file](http://en.wikipedia.org/wiki/Hosts_file)

---

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 20, 2006, 7:35pm UTC](https://forum.kirupa.com/t/apache/186344/10 "2006-04-20T19:35:01Z")

</div>

> [@Ankou](#):
>
> 172.16.0.0 - 172.31.255.255 is for private use, which I take it means you’re asking for how to give that IP a name on your webserver. I ASSUME that because you put the link in your post. So even if you name the IP on your computer it’s not going to make a difference because no one outside your network (local network) would be able to get to it even with a name.
> 
> It’s like me saying that people should type in [http://localhost/](http://localhost/) and check out my site. It’ll only take them to their localhost if they are running a webserver.
> 
> What is it that you’re trying to set up here? Is it just a local webserver so you can test sites on? Or are you trying to set up your computer as a webserver that others can connect to?
> 
> BTW – if it’s for a local webserver and you just want to type in something like [http://myserver/](http://myserver/) then you need to make a change to the **hosts** file. You’d add something like:
> 
> ```auto
> 
> 127.0.0.1 localhost
> 192.168.1.102 DEBIAN
> 
> ```
> 
> That’s how part of my hosts file looks like (for the server running on Windows XP). Two computers with their servers running – localhost is for the Windows computer and DEBIAN points to my Debian Linux box.
> 
> For the location of hosts files on your OS - Check here: [http://en.wikipedia.org/wiki/Hosts\_file](http://en.wikipedia.org/wiki/Hosts_file)

I am trying to make a weserver so other users can connect to it

---

<div class="post-metadata">

**Author:** ![Ankou](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ankou/32/1351_2.png) [@Ankou](https://forum.kirupa.com/u/Ankou)\
**Post date:** [April 20, 2006, 9:29pm UTC](https://forum.kirupa.com/t/apache/186344/11 "2006-04-20T21:29:49Z")

</div>

:stunned: I don’t want to sound insulting here, so please don’t take it that way. But do you know how to run a server and handle the secutiry risks involved with something like that? There’s a lot to setting up your own server and making sure that it’s secure and running correctly. And be prepared for some attacks… (and no not from me _laugh_).

Okay… I just had to put that there so you know what you’re getting yourself into.

I was going to type everything out as I remember it, but why reinvent the wheel?

[http://www.boutell.com/newfaq/creating/hostmyown.html](http://www.boutell.com/newfaq/creating/hostmyown.html)

[http://www.dslwebserver.com/main/fr\_index.html?/main/main.html](http://www.dslwebserver.com/main/fr_index.html?/main/main.html) (click on “The Guide” and start reading)

If you’re reading those guides and you start to think, “How do I do that?” or “What does that mean?” – odds are you’re going to be a whole lot better off just finding a cheap web host and putting your site there. I’m not saying that you should skip the idea of running your own server, but there’s a lot to know. So host your site and in the mean time play around with setting up your own server. Trust me… there’s a lot to do and learn (and it’s a process that’s on going).

---

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 22, 2006, 12:57pm UTC](https://forum.kirupa.com/t/apache/186344/12 "2006-04-22T12:57:12Z")

</div>

Ok thanks Ankou…

I will stay with [www.pencaderweb.co.uk](http://www.pencaderweb.co.uk) for the time being and just have a sort of web jsut for my house 🙂

I will play around and try and get it running at the moment my PC (SERVER)  
is not running any internet connections the D-Link failed and my main PC (DEVELOPMENT) MYSQL will not run. And my LAPTOP (PORTABLE DESIGNS)  
belkin USB thumb has broken ☹

---

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 22, 2006, 5:17pm UTC](https://forum.kirupa.com/t/apache/186344/13 "2006-04-22T17:17:25Z")

</div>

I let/open ports on my Routers fire wall and it works on every PC in my house its just to see if it works for you

[http://h.selfip.com/index.html](http://h.selfip.com/index.html)

The URL i got from [dyndns.com](http://dyndns.com) for dynamic and static IP’s

---

<div class="post-metadata">

**Author:** ![chrisclick](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chrisclick/32/1991_2.png) [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Post date:** [April 22, 2006, 8:02pm UTC](https://forum.kirupa.com/t/apache/186344/14 "2006-04-22T20:02:03Z")

</div>

Shutting down server for maintenence ☹
