Apache

: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
:alien2:
Thanks

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

sorry

Server side programming forum it should be in yes.

Post Going to be deleted in: 1 Hour

not deleted, just moved

Everyone please stop spamming this thread. Thanks

You are aware the link doesnt work.

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/ 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/ then you need to make a change to the hosts file. You’d add something like:


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

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

: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.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).

Ok thanks Ankou…

I will stay with www.pencaderweb.co.uk for the time being and just have a sort of web jsut for my house :slight_smile:

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 :frowning:

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

The URL i got from dyndns.com for dynamic and static IP’s

Shutting down server for maintenence :frowning: