On Tue, Sep 19, 2006 at 09:59:38PM -0400, Kim Mackey wrote:
> OK,  I finally have it working at about 99%.  Maybe not quite that  
> much depending on how you look at it.
> 
> 
> the final problem I am having is probably related to how I set up my  
> network when I installed OpenBSD 3.9  In previous installations of  
> OpenBSD I just accepted the defaults during the network card setup  
> and everything worked out ok.  this time I have been struggling with  
> my host name and domain name.  The problem for me right now is I  
> don't have a domain name for this network and before my domain was  
> just defaulted to my.domain.  But now It seems to want to act like I  
> am some how a DNS or something, I'm not sure.
> 
> Anyway the symptom is that when I visit my wiki site I go there with  
> the url 192.168.1.106/wiki/  but as it starts to load the page it  
> changes my url to myhost.my.domain/wiki/index.php/Main_Page and then  
> fails to load.  but if I type the url as 192.168.1.106/wiki/index.php/ 
> Man_Page it will load the page just fine.  From there I can click on  
> the links and every thing continues to work fine.  (On some pages if  
> I leave the page up for a little while it will automaticallyswithc  
> the url to the myhostname.my.domain and fail to load.  I just retype  
> the url with my local IP and things load back up fine again, but I  
> have to leave that page or it will fail again.
> 
> I hope I can fix this problem without having to reinstall OpenBSD  
> (and all) again.

As suggested, using /etc/hosts is a good option. It's also not too hard
to change your host- and domainname, but that is probably not what you
want to do.

For a more simplistic solution, look up ServerName in
/var/www/conf/httpd.conf.

                Joachim

Reply via email to