Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Server Domain (help!)
nightfox
post Jun 7 2006, 12:26 AM
Post #1


NiGHTFoX - Hiding in the dark
Group Icon

Group: Members
Posts: 680
Joined: 3-April 05
Member No.: 3,584



Ok, for testing my knowledge, I got a free domain "floppydrives.cjb.net" and free DNS service at ZoneEdit.com. However, when you visit "floppydrives.cjb.net" you're taken to the document root of "/var/www/html" instead of where I'd like it to go: "/home/user/public_html"

I think this is more of a web issue/server issue, so I apologize if you feel that this is in the wrong forum. If it is, could a mod move it to where they feel it should go? Thanks!

[N]F
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Jun 7 2006, 07:49 AM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



This is your home server right ?? And the only page you're hosting is your own??

A simple tweak would be to place a blank index file in your /var/www/html with a single line of JavaScript Redirection code pointing to the index file in your /home/nigthfox laugh.gif This is the quick and dirty way out..

I understand what you want - but it's gotta do something with your local DNS too.. that's what redirects requests to specific accounts on the same server. Let me ask around and if I get a satisfactory reply from any of my associates, I'll post back rightaway.
Go to the top of the page
 
+Quote Post
nightfox
post Jun 7 2006, 11:59 AM
Post #3


NiGHTFoX - Hiding in the dark
Group Icon

Group: Members
Posts: 680
Joined: 3-April 05
Member No.: 3,584



QUOTE(miCRoSCoPiC^eaRthLinG @ Jun 7 2006, 03:49 AM) *

This is your home server right ?? And the only page you're hosting is your own??

Yep! Hey, since it is MY server, I can use all the disk space and bandwidth in the world!!
QUOTE

A simple tweak would be to place a blank index file in your /var/www/html with a single line of JavaScript Redirection code pointing to the index file in your /home/nigthfox laugh.gif This is the quick and dirty way out..

Actually an easier way is setting document root to /home/nightfox tongue.gif except then I can't really have multiple sites...
QUOTE

I understand what you want - but it's gotta do something with your local DNS too.. that's what redirects requests to specific accounts on the same server.

Yep, I figured that... mmmm... DNS....
QUOTE

Let me ask around and if I get a satisfactory reply from any of my associates, I'll post back rightaway.

Thanks m^e! That would be great!!

[N]F
Go to the top of the page
 
+Quote Post
pyost
post Jun 7 2006, 12:25 PM
Post #4


Nenad Bozidarevic
Group Icon

Group: [MODERATOR]
Posts: 1,002
Joined: 7-November 05
From: Belgrade, Serbia
Member No.: 9,500



QUOTE(miCRoSCoPiC^eaRthLinG @ Jun 7 2006, 09:49 AM) *

A simple tweak would be to place a blank index file in your /var/www/html with a single line of JavaScript Redirection code pointing to the index file in your /home/nigthfox laugh.gif This is the quick and dirty way out..


True, but some people don't have JavaScript enabled, so that might be a problem. You can also redirect by entering this in the <head> part of the code:
<meta http-equiv="refresh" content="0; WANTED URL">
Go to the top of the page
 
+Quote Post
Hercco
post Jun 7 2006, 03:02 PM
Post #5


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228



This might be a dum question but does cjb.net domains work with DNS? So can you alter the name servers for the domain? See I thought they were just redirects.


About your actual question, I don't think you should resort to redirects, it should be quite easy to configure the right www root for the web server.
Go to the top of the page
 
+Quote Post
nightfox
post Jun 7 2006, 07:08 PM
Post #6


NiGHTFoX - Hiding in the dark
Group Icon

Group: Members
Posts: 680
Joined: 3-April 05
Member No.: 3,584



QUOTE(Hercco @ Jun 7 2006, 11:02 AM) *

This might be a dum question but does cjb.net domains work with DNS? So can you alter the name servers for the domain? See I thought they were just redirects.

Yep:
Login > Account Settings > Very bottom you can enter:
-IP
-Name Server 1
-Name Server 2 (they just added support for a secondary name server not to long ago)
-IPv6
-Mail Server
-Canonical Name

They used to have all of that available when you signed up, but now they've sorta "hidden" it away. But I use a CJB.net domain here on my Astahost hosting account and it works just as well as a .com. Of course, it's blocked at school because it's a cjb.net domain, but it is still great!

[N]F
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. free .info domain(23)
  2. Dyndns (get A Domain Name For Your Home Computer)(7)
  3. Hey What Do I Need To Run Your Own Server?(9)
  4. Sharing "domain" & "workgroup"(3)
  5. Home Server Routing(2)
  6. Logon To Win Server 2003 From Win 98(1)
  7. Local Mail Server(4)
  8. Apache Server Problems(5)
  9. Where Can I Find A Free Public Ldif Server ?(2)
  10. Can't Run Any Local Server On This Pc(7)
  11. Configure 1st And 2nd Name Server(4)
  12. Help, I Can't Make A Server For Teamspeak, Cs, Etc(8)
  13. Windows Live Custom Domain: Question(4)
  14. Network Domain And Dynamic Dns(6)
  15. Server Slow On LAN, Fast On The Internet(14)
  1. Questions About Setting Up An Internet Server(14)
  2. Network Domain & Network User Accounts(2)
  3. Server Behind Router(6)
  4. Free Secondary Dns/backup Name Server(0)
  5. Need Help Configuring The BIND DNS Server(7)
  6. Backup DNS For Domain(4)
  7. Connecting To A Domain And A Workgroup(7)
  8. Apache Server On Xampp(8)
  9. Free Remote Wireless Server?(1)


 



- Lo-Fi Version Time is now: 8th September 2008 - 07:05 AM