XFileSharing Pro - e.g. d1.xxx.com rather then ip address ?

Message
Author
dollarek
Posts: 46
Joined: Jan 11, 2008 5:09 pm

e.g. d1.xxx.com rather then ip address ?

#1 Postby dollarek » Jun 27, 2009 10:16 pm

e.g. d1.xxx.com for additional servers rather then ip address ? does enyone know how?

naga
Posts: 45
Joined: Dec 22, 2008 3:40 pm

Re: e.g. d1.xxx.com rather then ip address ?

#2 Postby naga » Jun 28, 2009 11:40 am

dollarek wrote:e.g. d1.xxx.com for additional servers rather then ip address ? does enyone know how?
Hi,
to do this you need to edit the DNS of your website, if you have the domain dns hosted at your register(namecheap, domainsite etc) you can edit it there, an example: http://img269.imageshack.us/img269/7408/dnsv.jpg

if you have own nameservers, or the one from your site host (eg, you filled in NS1.something.com NS2.something.com somewhere) You should be able to edit it somewhere via whm or ask your host.

thats the easy part, the second part is making your fileserver to respond to those dl1.domain.com etc
if you have cpanel or any other panel installed on the fileserver, this is really easy, you just add the domain there and the panel will do hte work for you.
if you however don't have any panel on the fileserver, you need to make apache correspond to it manually: http://www.apacheweek.com/features/vhost

if you run on linux with apache2 you need to edit /etc/apache2/sites-available/default
I've uploaded an example of one of my configs http://img29.imageshack.us/img29/4295/apachevhost.jpg
the main things you need are the servername, documentroot and the things for the cgi bin(important). Also you should set the allowoverrides to all actually, thats a mistake on my end here..

After you've edited it you should restart apache, and when you go to dl1.domain.com it should show the contents from /home/yourfolder/

if you dont have any experience with servers I'd suggest you get someone to do this for you

cuty
Posts: 103
Joined: Apr 14, 2009 11:20 pm

#3 Postby cuty » Jun 28, 2009 5:31 pm

All you'd need to do is edit your NS records rather create a new one with the ip address of the the server you want it to point too.Wait a couple days for propogation to take place, and you should be able to ping it.He doesnt want to create a path or want to point apache to a new directory so wou;d have to edit the htaccess.

castledracula
Posts: 14
Joined: Aug 24, 2009 9:51 pm

#4 Postby castledracula » Nov 17, 2009 1:54 pm

ok, can somebody explain to me how to do this with the whm cpanel, i just got a new server and i still learning.

i im willing to pay for your time if anyone help me configure my servers