View previous topic :: View next topic |
Author |
Message |
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
Posted: Mon Apr 05, 2004 10:56 pm Post subject: How 2 run 2 domains on Abyss without cgi |
|
|
Thought Someone Might Like to Know this :D
https://www.dyndns.org/ Mask The Name Of Pages Inside your websever. Example:
I Run 2 websites on Abyss a puplic and a private family oriented website. Inside My Htdocs folder I created a directory ( though this isn't required) and placed all the files relitive to my private website inside that directory. Calling One index.htm. Then I headed on to Http://www.NO-ip.com and got the two seperate domain names for my server. After That I headed on Over to https://www.dyndns.org/ and signed up for their free webhop service. I was able to give the the URL Http://Myprivatesite.no-ip.com/directory a name like myprivatesite.dontexist.com. Hence when anyone types in that url it directs to to my private site without showing the real address.
You also Have The Option to cloak the Address and name it says myserver.com.
Hope this helps someone out I know I could have used it a long time ago. _________________ Noize Pollution | Angel's Online | Free Net Builders | Pagan Portal
Last edited by Angel on Wed Apr 14, 2004 3:28 pm; edited 1 time in total |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue Apr 06, 2004 4:27 am Post subject: |
|
|
It's better, yes, however note the title name: "How 2 run 2 domains on Abyss without cgi." I do believe both PHP and Perl are CGI.
Where's that beta version?? :D _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Tue Apr 06, 2004 5:34 am Post subject: |
|
|
I use the CGI because what your doing is not
the closest to ::Virtual Hosting:: the only thing
missing from that form thing is setting actual
/ directories for each domain which is impossible |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue Apr 06, 2004 5:54 am Post subject: |
|
|
True... May I ask Angel, why do you not want to use CGI? Or is this just for someone who is too lazy to install it. (PHP, et cetera).
Anyway, good tutorial. _________________ Bienvenidos! |
|
Back to top |
|
|
eznetlinks -
Joined: 27 Sep 2003 Posts: 144
|
Posted: Tue Apr 06, 2004 11:58 pm Post subject: |
|
|
index.html
<script language="javascript">
var host = location.hostname
if (host == "www.yourdomain.com")
{
location.replace("/yourdir")
}
if (host == "www.yourdomain2.com")
{
location.replace("/yourdir2")
}
</script> |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Wed Apr 07, 2004 12:58 am Post subject: |
|
|
Very nice! TRUSTpunk, you should add that one! _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Apr 07, 2004 1:01 am Post subject: |
|
|
I don't add that one because it shows
other-site.com/new_site/ instead of
other-site.com , do you get it now lol :D |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Wed Apr 07, 2004 1:36 am Post subject: |
|
|
I think the CGI version shows "othersite.com" until you click on a link (because all links have to be formatted as "othersite.com/newsite/page.html"). _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Apr 07, 2004 1:51 am Post subject: |
|
|
Exactly but what im saying is people would prefer to
see other-site.com when they enter the website instead
of the actual other-sites.com/new_site/ , see what I mean |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Wed Apr 07, 2004 2:56 am Post subject: |
|
|
True. I just think of the JavaScript version as a good alternative for someone who doesn't want to install CGI (which was the main idea of this thread).
Good job eznetlinks. _________________ Bienvenidos! |
|
Back to top |
|
|
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
Posted: Wed Apr 14, 2004 3:27 pm Post subject: Response |
|
|
iNaNimAtE wrote: | for someone who is too lazy to install it. (PHP, et cetera). |
I just Figured I would Share That knowledge for the newbies, because this seems to be one of the top questions asked by them. I mean Its not the best remedy but it suffices until some kind of CGI I can Be Learned.
:D _________________ Noize Pollution | Angel's Online | Free Net Builders | Pagan Portal |
|
Back to top |
|
|
|