Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (25 May 2013 - 09:50 PM) Hi, Agyat What's New?
@  yordan : (25 May 2013 - 07:59 PM) Yay, Shoutbox Is Back! Yahooo!
@  agyat : (24 May 2013 - 05:15 PM) O Dear, Where Are You? Without Your Words This Sb Is ..
@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.

Replying to Server Domain (help!)


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

nightfox

Posted 07 June 2006 - 07:08 PM

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

Hercco

Posted 07 June 2006 - 03:02 PM

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.

pyost

Posted 07 June 2006 - 12:25 PM

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 :( 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">

nightfox

Posted 07 June 2006 - 11:59 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!!

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 :( This is the quick and dirty way out..

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

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....

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

miCRoSCoPiC^eaRthLinG

Posted 07 June 2006 - 07:49 AM

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 :( 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.

nightfox

Posted 07 June 2006 - 12:26 AM

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

Review the complete topic (launches new window)