reseller problem

curious

Verified User
Joined
Mar 30, 2005
Messages
11
Hi im new here and ive got 2 questions....

Im a reseller so dont have 100% power..

1. I'd like to make a subdomain who redirects to a ip
like : http://sub.domain.com redirects to : http://215.219.130.101/~main or something like that..
im sorry for such a newb question...

2. I'd like to make a subdomain and give it a direct package..
so i want to make u subdomein to MINE own domain and give it a specific package, at this time if i make a subdomain the discspace who the subs uses is from the main domein so the domain i use ...

so these are the things i want :

1. FTP login with only the acces to that specific subdomain so no other maps who not containing to the subdomain..

2. I want to give a subdomain a own specific package (e.g 100 mb discspace and 1000 mb traffic..)

(sorry for the bad language -> im dutch)

Greetz and many thanks

Nick Groenewegen
 
Just create the subdomain as if it were an entire domain.

For example, instead of creating:

example.com

just go ahead and create

sub.example.com

and then both sub.example.com and www.sub.example.com will work.

And it will work as a completely different domain.

Jeff
 
It should. It does here. Check domains.nobaloney.net, which is set up that way (but which also includes a redirect to another site).

(Note: Do not order domains from that site; the price is too high; if you want to order domains from me contact me for better pricing.)

In what way doesn't it work?

Have you tried shutting down your browser, restarting it, and perhaps clearing the cache?

Jeff
 
here is the pic with the information
 

Attachments

  • screenshot.gif
    screenshot.gif
    9 KB · Views: 213
Your A record is working and is resolving to the right IP#.

What I'm getting is an access error.

You'll need an .htaccess file entry to allow directory listings if you want to see the files.

Jeff
 
uhmm im kind of newb in this can u explain what u were saying and how i make that file with right text.. ?
 
btw i've never give the subdomain the command for redirecting to the right url.. (dunno where i can do that ...)
 
You can do that in an html file or in an .htaccess file.

It's basic website programming.

You can search for "htaccess" on these forums and you'll probably find all the information you need.

Jeff
 
Hi stick this in an html document called index.html in the right folder ;)

<html>
<head>
<title>Whatever you want it to be</title>
<meta http-equiv="Refresh" content="1;URL=http://www.the domain.com"></head>
<body></body>
</html>

Theres a php redirect here

Hope this helps,

Rob
 
Last edited:
oh yeah 1 more thing :eek: :rolleyes: when i go to the subdomain it redirects to the domain i wanted to but is there a way for holding that link from the subdomain ..
for example: when i type : sub.domain.com it redirects to : ip/~dir
but is there a way for keeping sub.domain.com when it redirects?
 
Hi yes you could probably put it in a frame so the frame stays on the site address and the inner frame redirects.

I'm a bit busy to do it now... Google is your friend ;)

Or maybe try playing with the Alias settings in the DA control panel at user level.

Rob
 
it's the wrong script i guess because its redirecting and the url where he's redirecting to is standing in the url box so that was the whole point for not getting that ip/~user but keeping www.sub.domain.com
 
If the two domains are local there are some tricks you can play on the httpd level.

If they're on different servers you can either have frames (two, with the top one being invisible) or have the URL change. No other way, because for the first server to stay in control you'd have to do it with frames, and for the the second server to stay in control the URL would have to change.

I just thought of this, but it's overkill, unprofessional, and a bit contrived...

Use a php or perl script to use CURL to get the foreign contents and completely resend it.

That way the first server can stay in control and not use frames.

I think it's a worse solution though; definitely machine intensive, and requires that the first hope be a program not a page.

Jeff
 
yeah oke but .. why is there in DA panel not a option for making a subdomain with a package so without making a sub that goes to a package ..
 
Back
Top