XFileSharing Pro - DNS Error

Message
Author
RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

DNS Error

#1 Postby RockDiz » Nov 06, 2011 6:17 pm

I'm getting an unknown error:

Can't connect to domain.com:80 (Bad hostname) LWP::Protocol::http::Socket: Bad hostname 'domain.com' at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm line 51

This won't allow neither my users and me to upload files.

I resolved this problem temporarily by rebooting my server but it came up again after a few hours. I don't want to have to keep restarting my server every few hours to resolve this issue.
Thanks in advanced!

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#2 Postby nyan » Nov 06, 2011 9:38 pm

edit /etc/hosts
123.567.876.123 fileserver1.site.com
123.567.876.124 fileserver2.site.com
123.567.876.125 site.com
reboot server. done.

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#3 Postby RockDiz » Nov 07, 2011 12:50 am

"123.567.876.123 fileserver1.site.com
123.567.876.124 fileserver2.site.com
123.567.876.125 site.com "

so i just replace site.com with my domain and that's it?

nyan
Posts: 163
Joined: Oct 28, 2010 8:01 pm

#4 Postby nyan » Nov 07, 2011 12:35 pm

RockDiz wrote:"123.567.876.123 fileserver1.site.com
123.567.876.124 fileserver2.site.com
123.567.876.125 site.com "

so i just replace site.com with my domain and that's it?
And the correct IP addresses ofcourse