XFileSharing Pro - Issue Adding Server

Message
Author
speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

Issue Adding Server

#1 Postby speakerbox » Aug 20, 2010 4:52 am

I'm trying to install the xfileshare pro script to theme the site before it goes live next month.

This is the error I am getting when trying to add a file server.

Code: Select all

api.cgi: ERROR (500 Can't connect to www.MYDOMAIN.com:80 (Bad hostname 'www.MYDOMAIN.com') )
upload.cgi: ERROR (problems with link)
htdocs URL accessibility: ERROR (should see XFS on link)
I've checked the normal stuff like the config files and everything seems fine. If anyone could help me figure out this issue that would be greatly apreciated :)

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

Re: Issue Adding Server

#2 Postby admin » Aug 20, 2010 7:13 am

speakerbox wrote: Bad hostname 'www.MYDOMAIN.com'
Your file server can't resolve domain name of your main server (as quoted above).

speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

#3 Postby speakerbox » Aug 20, 2010 4:55 pm

Thats odd. What's the fix for that. How is it that it can't resolve the domain even thought it's been propagating for over a week?

stunna
Posts: 44
Joined: Apr 25, 2010 10:19 pm

#4 Postby stunna » Aug 20, 2010 8:05 pm

Check the file /etc/resolv.conf , make sure it has the correct alias name of the server e.g "localhost" and check with the DC if the ip address for the nameservers in that file are correct.If they are, change them around, move the top to the bottom.

mrperl
Posts: 65
Joined: Mar 06, 2010 11:40 am

Re: Issue Adding Server

#5 Postby mrperl » Aug 23, 2010 2:28 pm

Stunna:

Likely you mean /etc/hosts for local aliases.

Public domain names need to be in DNS, and /etc/resolv.conf needs to contain
2 or more nameservers that you have permission to make queries against.
Last edited by mrperl on Aug 25, 2010 12:21 pm, edited 1 time in total.

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#6 Postby admin » Aug 25, 2010 5:38 am

Yes, "Dumb" way is to put proper records in /etc/hosts