• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

hostname in mandrake 8.2

thenewnoise

Senior member
when setting up apache in mandrake 8.2 it asks for a hostname (example mybox.mydomain) and im not to sure what to put in there, i want people to just access the server from the ip address so should i just put the ip address of the computer in there or what? i tried localhost and that didnt work it says it was invalid. any suggestions would be great. thanks

i should probally tell you this
the machine has a static ip (192.168.1.11) and its behind a router (192.168.1.1) and i have cox cable which isnt a static ip.
 
You can set it to anything you want. Aslong as the router sends anything on port 80 to your computer. That is how I have mine set up. The name is more for the internal lan - as well as latter you can have it be www.yourip.com or thenewnoise.yourip.com. A higher knowledge then I have on how to set that up.
 
the thing is if i type in just "goddamnit" (which is what i want it to be) it says invaild name and if i type in 192.168.1.11 then when i bring up a terminal it says
[matt @192 matt]$
 
Try adding goddamnit or whatever to your /etc/hosts file.

EDIT: Also look at using the hostname command (or however Mandrake does it) to set the hostname of the machine to the same thing.
 
Try it as a virtual server...I had no problem with it. Try to reinstall and set it up through the install setup.
 
well i used the hostname command and changed it to "goddamnit" but if i try it through the wizard it still says its not correct.
 


<< well i used the hostname command and changed it to "goddamnit" but if i try it through the wizard it still says its not correct. >>



Did you also add it to /etc/hosts?

And what wizard are you talking about?
 


<< the mandrake control center wizard and i havent added it to that file yet, im doing that now >>



I guess my lack of knowledge on Mandrake hurts me here. I shouldnt have learned the standard way to do things I guess... 😉
 


<< haha, if you want to take the time to explain the standard way to me im all ear, of it you want to point me somewhere. >>



I dont know what you have done or what you are planning on doing or exactly how to do it in Mandrake. On my systems there is a place to put the hostname (in one of the startup config files). I also editted /etc/hosts to add my other systems so I wouldnt have to type ip addresses. Atleast until I setup BIND. I havent setup apache in a while, but I dont remember having to put in anything wierd for the hostname in there.

EDIT: I also dont see a hostname field in the httpd.conf.
 
Back
Top