XFileSharing Pro - add fileserver with different folders

Message
Author
pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

add fileserver with different folders

#1 Postby pony99 » Jul 12, 2012 6:13 am

hello,
I have a question. I would like to add a new fileserver without subdomains, only with different folders like that:

Main Server:

domain.com/cgi-bin/
domain.com/htdocs/

File Server:

domain.com/server2/cgi-bin/
domain.com/server2/htdocs/

But I have problems with DNS settings

I have create two A records

domain.com IN A 1.2.3.0
domain.com IN A 1.2.3.1

How can I make it, thats load the htdocs from mainserver, how can I add fileserver without subdomain, can everybody help me please? best regards

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#2 Postby ankurs » Jul 12, 2012 6:26 am

if you have cpanel then it wont allow 2 ips for same domain

why did you even add 2nd ip to same domain ? or are both the ips on different server, then you need to use subdomain for 2nd ip

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#3 Postby pony99 » Jul 12, 2012 7:26 am

Hello,
i use plesk, yes they are two different server...i dont want to buy a second license key :( Is there a way without subdomains?

Stefanzm
Posts: 85
Joined: Apr 08, 2012 3:41 pm

#4 Postby Stefanzm » Jul 12, 2012 7:31 am

@pony99 fileservers doesn't require license keys . Only the http one does.

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#5 Postby pony99 » Jul 12, 2012 7:41 am

@Stefanzm

a new subdomain = new license key?

But the admin said that there is a way without subdomain, but how?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#6 Postby ankurs » Jul 12, 2012 8:30 am

pony99 wrote: a new subdomain = new license key?
new license if needed if you have 2 different sites, for file servers you dont need a seperate license

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#7 Postby pony99 » Jul 12, 2012 9:17 am

ah ok, then I can set it like this:

domain.com IN A 1.2.3.0 (Main)
sub.domain.com IN A 1.2.3.1 (File)

ok thanks

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#8 Postby ankurs » Jul 12, 2012 10:22 am

pony99 wrote:ah ok, then I can set it like this:

domain.com IN A 1.2.3.0 (Main)
sub.domain.com IN A 1.2.3.1 (File)

ok thanks
yes

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#9 Postby pony99 » Jul 13, 2012 2:02 pm

ok file server works, but i get this error from main server, what means this error:

temp dir exist: OK
temp dir mkdir: OK
temp dir rmdir: OK
tmp dir exist: OK
tmp dir mkdir: OK
tmp dir rmdir: OK
upload dir exist: OK
upload dir mkdir: OK
upload dir rmdir: OK
htdocs dir exist: OK
htdocs dir mkdir: ERROR
htdocs dir symlink: ERROR
htdocs dir symlink del: ERROR
htdocs dir rmdir: ERROR
config read: OK
config write: OK
fs.cgi: OK

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#10 Postby pony99 » Jul 20, 2012 4:55 pm

today I got this message again


htdocs dir mkdir: ERROR
htdocs dir symlink: ERROR
htdocs dir symlink del: ERROR
htdocs dir rmdir: ERROR

is that a CHMOD problem with htdocs directory??

knsshetty
Posts: 28
Joined: Jun 08, 2012 10:21 am

#11 Postby knsshetty » Jul 20, 2012 5:08 pm

CHMOD htdocs to 755 and try.

pony99
Posts: 55
Joined: Jul 08, 2012 3:45 pm

#12 Postby pony99 » Jul 21, 2012 1:38 pm

ok thanks,
now i get this error:

read timeout at /usr/local/share/perl/5.10.1/LWP/Protocol/http.pm line 451.

but I dont have change any settings? :(