Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Hosting problem
Google
Post new topic Reply to topic
Author Message
flash2k5
 
 


Joined: 09 Nov 2005
Posts: 14

PostPosted: Tue Dec 27, 2005 4:41 pm Reply with quoteBack to top

Well I have setup my server running :

Windows Server 2003 Eneterprise Edition with SP2
Symantec Antivirus Enterprise
BIND DNS Server
A2T 1.5.3

on

Pentium3 1.14 Ghz
Geforce3 64MB DDR Rolling Eyes
1GB DDR 266 SDRAM
80GB Storage
.
Now coming on to real thing :
i am planning to host my friends and my family members on the above config.
Now my real problem starts from here :

1. How will I make the the domain http://user.mydomain.com access /htdocs/user directory ???

2. If they park their domain with the nameservers of my server, how will ftp://theirdomain.com or http://theirdomain.com work such that it points NOT to the root directory but to their respective web directories ???

3. Is there ANY free control panel available that wud allow them to create MySQL/PGSQL DBs and/or allow them to install OpenSource Scripts right from the CP ?? I read a thread where a member named "aolex" had posted some screenies of his CP but he didn't posted any link to it and his website in profile also doen't works.

4. What are Virtual hosts in Apache webserver for??

5. I have no hassle to add manually their FTP accounts
I know I can specify the directory their FTP domain will access but what about their HTTP domain???

6. Ihave a comp in my office which is connected to inetrnet via shared connection in our office. I want it to be a server but the problem is that since the IP is shared over whole of the office, when I create a "A" record in my DNS profile at EasyDNS.net and type out the url it points to my main server which is connected directly to Internet. My machine accesses internet via the following proxy settings
Global IP = 59.88.46.121 (the shared IP)
Local IP = 10.32.45.71 (the via which all REST of the computer connect to the main comp for accessing Internet)
Port= 6558 (for all protocols)

How Will Need to configure A2T on my machine so that when someone types out http://mydomain.com (which wud have the A record pointing to Global IP), my machine answers the request ??
EDIT: Only my machine wud have a webserever installed, so there's no problem if u assume that ONLY I share the internet with the main computer via proxy settings.

7. Can I expect the forthcoming version of A2T as a New Year Gift Very Happy


I expect a +ve response and BTW A2T Rocks!! Very Happy
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Tue Dec 27, 2005 5:35 pm Reply with quoteBack to top

1. you could use mod_userdir
2. on ftp you have to set the home folder to their folder, on http virtual hosts would have to be used
3. zpanel http://apache2triad.net/forums/viewtopic.php?p=14521#14521
4. for creating multiple http hosts using one server (e.g. virtual hosts) http://apache2triad.net/forums/viewtopic.php?t=21&postdays=0&postorder=asc&start=0
5. see your question #4 for virtual hosts (remeber each virtual host will need to have a different document root)
6. try forwarding http/ftp request to your 'host' pc. If your main pc doesn't allow this then you could try a tunnel program. http://www.networkactiv.com/AUTAPF.html or http://www.stunnel.org/
7. Vlad hasn't set any time tables on a new update, but he does intend on a new release, also I made some quick hack updates for php, and mysql for edge release http://apache2triad.net/forums/viewtopic.php?t=4157
View user's profileSend private messageYahoo MessengerICQ Number
flash2k5
 
 


Joined: 09 Nov 2005
Posts: 14

PostPosted: Tue Dec 27, 2005 6:14 pm Reply with quoteBack to top

Demoric wrote:
1. you could use mod_userdir
2. on ftp you have to set the home folder to their folder, on http virtual hosts would have to be used
3. zpanel http://apache2triad.net/forums/viewtopic.php?p=14521#14521
4. for creating multiple http hosts using one server (e.g. virtual hosts) http://apache2triad.net/forums/viewtopic.php?t=21&postdays=0&postorder=asc&start=0
5. see your question #4 for virtual hosts (remeber each virtual host will need to have a different document root)
6. try forwarding http/ftp request to your 'host' pc. If your main pc doesn't allow this then you could try a tunnel program. http://www.networkactiv.com/AUTAPF.html or http://www.stunnel.org/
7. Vlad hasn't set any time tables on a new update, but he does intend on a new release, also I made some quick hack updates for php, and mysql for edge release http://apache2triad.net/forums/viewtopic.php?t=4157


Would u mind telling me how to forward the requests??? I mean do I need to edit httpd.conf and slimftpd.conf to listen port 6558 (port used by my compt to connect to main PC for accessing internet)
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Thu Dec 29, 2005 3:30 am Reply with quoteBack to top

Quote:
Would u mind telling me how to forward the requests??? I mean do I need to edit httpd.conf and slimftpd.conf to listen port 6558 (port used by my compt to connect to main PC for accessing internet)


No, you just need to have the pc that is connected to the internet pass request s to your A2T host.

Port80Request -> InternetPC_Port80 -> Port80_OnA2T
Or
Port80Request -> InternetPC_Port80 -> TunnelOnPort_8080 -> A2THostTunnel_Port8080 -> ResolveOnPort80_A2THost

And of course you'll have to reverse this to serve the data back to the requested area. Sorry for the very crude diagrams I hope that give you a general idea.
View user's profileSend private messageYahoo MessengerICQ Number
flash2k5
 
 


Joined: 09 Nov 2005
Posts: 14

PostPosted: Fri Dec 30, 2005 11:36 am Reply with quoteBack to top

Its ok Demoric, Your diagrams do help.

But my dear friend, actually my brother wants to run a webserver on his PC running A2T. He lives in a hostel where 10MBps line is shared in between nearly 50 ppl.

Certainly none of them run a webserver and for the tunneling stuff u talked about earlier, one needs access to PC directly connecting to Internet, which unfortunately is not possible for him. Thus can u tell me any other way via which he can redirect all the prequisite ports (ie ports 80, 21, 25, 443, 110) to the port via which he accesses internet ie 6558???? OR any other method that doesn't requires access to the PC directly connected to Internet

EDIT: I had been trying for long time to use the Virtual Hosts, BUT it just dont work for me.

Whenever I write the subdomain it shows me the VHost folder, that's ok, BUT when I type the domain (which is meant to point at the root), again I am taken to Vhost folder
Mad

What's the problem???
I am attaching my httpd.conf so that somebody can help me out with my config??
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT