Multiple Directories Question

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Tue Dec 13, 2005 5:14 pm    Post subject: Multiple Directories Question Reply with quote

Hello All,
How can I setup my web server to use a subdirectory or direct link. For example...let's say my e-mail server uses port 8000 to do the web mail and I have Abyss on port 80. To get to my main page you type: http://www.mydomain.com. To get to my e-mail you currently type: http://www.mydomain.com:8000. How would I set that up so I could type: http://mail.mydomain.com or http://www.mydomain.com/mail and either would redirect to http://www.mydomain.com:8000 (it easier to remember without the port and using a redirect. Any help is appreciated!

Zaphod
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Tue Dec 13, 2005 5:31 pm    Post subject: Reply with quote

You can't run two servers on the same address without having multiple IPs.
You could redirect /mail to port 8000 with a simple http redirect, however.
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Tue Dec 13, 2005 6:12 pm    Post subject: Sorry maybe I wasn't clear.... Reply with quote

MonkeyNation wrote:
You can't run two servers on the same address without having multiple IPs.
You could redirect /mail to port 8000 with a simple http redirect, however.


** Let me try again...I have a domain (you can check it for yourself now if you like): http://www.clanmoss.com (ran with Abyss and on port 80)

I am also running ArgoSoft Mail Server which defaults it's e-mail Web Server to port 80, but I put it on port 8000. So to check my e-mail I have to go to: http://www.clanmoss.com:8000 I would like that URL to be http://mail.clanmoss.com OR http://www.clanmoss.com/mail. My questions is how do I set that up? Would this be on Abyss's end or ArgoSoft's? I would think that Abyss could redirect a URL to another so when I type the clanmoss.com/mail or mail.clanmoss.com it goes to clanmoss.com:8000...does this clear things up?

Zaphod
Back to top View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Tue Dec 13, 2005 6:36 pm    Post subject: Reply with quote

Does your domain registrar (Go Daddy) support URL redirect or URL framing?
If so, that would be the easiest method. Just create a subdomain in your registrar
and redirect it to the mail.
Back to top View user's profile Send private message Visit poster's website
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Tue Dec 13, 2005 6:40 pm    Post subject: Not 100% sure Reply with quote

Moxxnixx wrote:
Does your domain registrar (Go Daddy) support URL redirect or URL framing?
If so, that would be the easiest method. Just create a subdomain in your registrar
and redirect it to the mail.


I am still learning so I am not sure....I use GoDaddy.com...do they use it?
Back to top View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Tue Dec 13, 2005 6:45 pm    Post subject: Reply with quote

GoDaddy has forwarding/masking. You can find out more here...
https://www.godaddy.com/gdshop/faq/howto_guide.asp?se=%2B&ci=433#Forwarding
Back to top View user's profile Send private message Visit poster's website
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Tue Dec 13, 2005 7:45 pm    Post subject: Dont think that is it ;( Reply with quote

Moxxnixx wrote:
GoDaddy has forwarding/masking. You can find out more here...
https://www.godaddy.com/gdshop/faq/howto_guide.asp?se=%2B&ci=433#Forwarding


I checked and I dont think that will do what I need...I also for the record co-locate my own server with the web/e-mail server on it....any more ideas? Isn't there a setting in either version of Abyss? I talked to the admin of the ISP I have it hosted at and he said it's usually a setting on the Web Server...now I need to know where and how if Abyss can do this...anyone? Also, thanks for the ideas so far guys!

Zaphod
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Dec 14, 2005 12:37 pm    Post subject: Re: Multiple Directories Question Reply with quote

mosszaphod wrote:
How would I set that up so I could type: http://mail.mydomain.com or http://www.mydomain.com/mail and either would redirect to http://www.mydomain.com:8000 (it easier to remember without the port and using a redirect. Any help is appreciated!

Put an index.html page in http://www.mydomain.com/mail which will do automatic redirection to http://www.mydomain.com:8000 . The page will look like:

Code:
<HTML>
<HEAD>
<meta http-equiv="Refresh" content="0; URL=http://www.mydomain.com:8000/">
</HEAD>
<BODY>
Wait a second...
</BODY>
</HTML>


A similar topic has been already discussed in http://www.aprelium.com/forum/viewtopic.php?t=2919 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Wed Dec 14, 2005 3:29 pm    Post subject: Re: Multiple Directories Question Reply with quote

aprelium wrote:
mosszaphod wrote:
How would I set that up so I could type: http://mail.mydomain.com or http://www.mydomain.com/mail and either would redirect to http://www.mydomain.com:8000 (it easier to remember without the port and using a redirect. Any help is appreciated!

Put an index.html page in http://www.mydomain.com/mail which will do automatic redirection to http://www.mydomain.com:8000 . The page will look like:

Code:
<HTML>
<HEAD>
<meta http-equiv="Refresh" content="0; URL=http://www.mydomain.com:8000/">
</HEAD>
<BODY>
Wait a second...
</BODY>
</HTML>


A similar topic has been already discussed in http://www.aprelium.com/forum/viewtopic.php?t=2919 .


** Thanks that is just what I needed! I so appreciate what you have done for all the users of your product and I must say the support for your FREE product is much better than those that are PAID! I am so glad to be part of such a great product and community!

My last question would then be how would I do a http://mail.mydomain.com and make that redirect to http://mydomain.com:8000 ?

Zaphod
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Dec 15, 2005 1:31 pm    Post subject: Re: Multiple Directories Question Reply with quote

mosszaphod wrote:
My last question would then be how would I do a http://mail.mydomain.com and make that redirect to http://mydomain.com:8000 ?

You're welcome.

If you are using Abyss Web Server X2, you'll have to simply declare a new host. If you are using X1 you can use the VHS (Virtual hosting script) trick as explained in http://www.aprelium.com/forum/viewtopic.php?t=1081 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Thu Dec 15, 2005 9:56 pm    Post subject: Thanks again everyone! Reply with quote

Thanks so much for all the help guys and an extra thanks to the Big Cheese himself! I wanted to tell you what I did to get it working in case anyone else wants to know or has the problem.

My Domain: clanmoss.com
Web Directory: c:\WebPages (the root where I put my main index.html and subfolders)
Mail Server: ArGoSoft Mail Server Pro and current web address is: http://clanmoss.com:8000 and I want it to be: mail.clanmoss.com AND clanmoss.com/mail

Solution:

I made a folder called 'mail' in my WebPages directory. I made a txt file called index.html and put the following code in it:

<HTML>
<HEAD>
<meta http-equiv="Refresh" content="0; URL=http://www.clanmoss:8000/">
</HEAD>
<BODY>
Wait a second...
</BODY>
</HTML>

I saved this file in the c:\WebPages\mail directory I made. This allowed me at this point to be able to type: http://clanmoss.com/mail and get to my Mail Web pages which I wanted.

Now I want to be able to type: http://mail.clanmoss.com and get to the Mail Web page as well. For this I went to my c:\WebPages directory and renamed my index.html file to index2.html. I then created a txt file and named it index.php . I then put the following code into the index.php file and saved it:

<?php

//get domain entered in browser
if ($_SERVER['HTTP_HOST'] == "mail.clanmoss.com") {

//forward to appropriate page
header("Location : mail/index.html");
exit;

}
if ($_SERVER['HTTP_HOST'] == "clanmoss.com") {

header("Location : /index2.html");
exit;

}

//end duplicating, insert below.


//else show error page
else {

header("Location : error.html");
exit;

}

?><title>Opening Your Page ::</title>

After that I tested it and everything worked! I hope this helps anyone who wants to do similar things...thanks again to all that attempted to help me..keep up the GREAT work!

Zaphod
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Dec 16, 2005 3:40 pm    Post subject: Reply with quote

I have a whole website dedicated to the Virtual Hosting script, it has three
different scripting languages. I recommend new users to the VHC script to
go to my website to set this thing up, I provide a web interface for it.

For more information on this project, visit the website at:

http://vhc.trustabyss.com
Back to top View user's profile Send private message Visit poster's website
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Fri Dec 16, 2005 8:31 pm    Post subject: I had no luck with your site... Reply with quote

TRUSTpunk wrote:
I have a whole website dedicated to the Virtual Hosting script, it has three
different scripting languages. I recommend new users to the VHC script to
go to my website to set this thing up, I provide a web interface for it.

For more information on this project, visit the website at:

http://vhc.trustabyss.com


TrustPunk,
I tried your site, but I did not have good luck with it...I am sure part of it was my fault causing I am learning, but I do know the basics and then some...I think if your documentation was a little more clear that it would help...but the problem seemed to do what it suppsoed to...please don't take this as a put-down because it isn't...I mean it more to try and help others...thanks for making the site though!

Zaphod
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Fri Dec 16, 2005 8:33 pm    Post subject: Reply with quote

Go to the video tutorial on AbyssUnderground, www.abyssunderground.co.uk/vhcproject.php
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
mosszaphod
-


Joined: 19 Feb 2005
Posts: 21

PostPosted: Sat Dec 17, 2005 5:36 am    Post subject: Reply with quote

The Inquisitor wrote:
Go to the video tutorial on AbyssUnderground, www.abyssunderground.co.uk/vhcproject.php


Nice work on the video! I wish I had it sooner :)....as I said I got it figured out...I am sure the other appreciate the time you put into it...I know I do...again thanks to all who gave their input to help me :)...now all I need to do is figure out what would I do if someone wants Frontpage Extensions :)...

Zaphod
Back to top View user's profile Send private message
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Sat Dec 17, 2005 5:58 am    Post subject: Reply with quote

just make a folder called mail in your web server, create a html file called index.html and have it redirect to your e-mail address.
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sat Dec 17, 2005 1:00 pm    Post subject: Re: Multiple Directories Question Reply with quote

aprelium wrote:
mosszaphod wrote:
How would I set that up so I could type: http://mail.mydomain.com or http://www.mydomain.com/mail and either would redirect to http://www.mydomain.com:8000 (it easier to remember without the port and using a redirect. Any help is appreciated!

Put an index.html page in http://www.mydomain.com/mail which will do automatic redirection to http://www.mydomain.com:8000 . The page will look like:

Code:
<HTML>
<HEAD>
<meta http-equiv="Refresh" content="0; URL=http://www.mydomain.com:8000/">
</HEAD>
<BODY>
Wait a second...
</BODY>
</HTML>


A similar topic has been already discussed in http://www.aprelium.com/forum/viewtopic.php?t=2919 .


And just to make it real XHTML:

Code:
<HTML>
<HEAD>
<meta http-equiv="Refresh" content="0; URL=http://www.mydomain.com:8000/">
</HEAD>
<BODY>
<P>
Wait a second...
</P>
</BODY>
</HTML>
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat Dec 17, 2005 6:41 pm    Post subject: Reply with quote

mosszaphod wrote:
The Inquisitor wrote:
Go to the video tutorial on AbyssUnderground, www.abyssunderground.co.uk/vhcproject.php


Nice work on the video......


I actually made the tutorials, I coughed during it lol. Anyway, sorry about
the misdocumentation, I agree and im going to fix it some time. LateR!
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group