My Connection to files.directadmin.com is slow


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin

My Connection to files.directadmin.com is slowLast Modified: Jan 23, 2014, 3:46 pm
If your installs of DA are downloading files slowly from the files.directadmin.com server, you can use one of our mirrors instead.

The current list of mirrored files server is as follows:

files1.directadmin.com  - USA main server
files2.directadmin.com  - USA
files3.directadmin.com  - USA
files5.directadmin.com  - Turkey
files6.directadmin.com  - Netherland
files8.directadmin.com  - Israel
files10.directadmin.com - Thailand
files11.directadmin.com - Italy
files13.directadmin.com - Thailand
files14.directadmin.com - Vietnam
files15.directadmin.com - Italy
files16.directadmin.com - Ukraine



As of January, 2011, the custombuild scripts has the ability to find you a faster mirror if you choose.  They way to do this is to run:

cd /usr/local/directadmin/custombuild
./build update
./build set_fastest

and it will go through the servers.txt to find you a quicker files server.
When using the setup.sh in the normal interface mode (user input), it will ask to find the fastest mirror.
Selecting 'y' will do this for you, so no need to run this post-install (unless you selected 'n', have and older system, or one of the servers is dead)

You can manually set the value you'd like in your options.conf to override it, eg:

downloadserver=files2.directadmin.com




The older/outdated method is to update the /etc/hosts file (not recommended):

To use one of these backups, take the IP of that server, and add it into your /etc/hosts file.

For example, to use files6, you'd run

[root@server ~]# dig files6.directadmin.com

; <<>> DiG 9.2.4 <<>> files6.directadmin.com +nocomments
;; global options:  printcmd
;files6.directadmin.com.                IN      A
files6.directadmin.com. 14062   IN      A       62.148.181.110
directadmin.com.        14294   IN      NS      ns1.jbmc-software.com.
directadmin.com.        14294   IN      NS      ns2.jbmc-software.com.

taking note that it resolves to 62.148.181.110.

Then add the following into your /etc/hosts file:

62.148.181.110 files.directadmin.com

which will override the dns lookup, and make files.directadmin.com resolve to the files6 mirror.



2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST