| View previous topic :: View next topic |
| Author |
Message |
RockDiz
Joined: 05 May 2011 Posts: 59
|
Posted: Nov 06, 2011 6:17 pm Post subject: DNS Error |
|
|
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! |
|
| Back to top |
|
 |
nyan
Joined: 28 Oct 2010 Posts: 121
|
Posted: Nov 06, 2011 9:38 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
RockDiz
Joined: 05 May 2011 Posts: 59
|
Posted: Nov 07, 2011 12:50 am Post subject: |
|
|
"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? |
|
| Back to top |
|
 |
nyan
Joined: 28 Oct 2010 Posts: 121
|
Posted: Nov 07, 2011 12:35 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
|