Custom Sub Domain

i'm not sure what you mean.

Are you a site owner? A site reseller, or a system administrator?

Jeff
 
a site owner. i Bought the domain stevenp.nl and i got direct admin. But i have a virtual host, not a dedicated server. That's why i don't have admin rights at DA.
 
Stevenp,

You may have access to your own zone file, based on whether your host gives that authority to you or not.

But you don't have authority for any other zone file.

I'm still not sure what you're asking about.

Jeff
 
first of all, i appriciate you're help and patients!

Let me give you an example:

-stevenp.nl -> just to my html_public
user1.stevenp.nl -> redirect to stevenp.nl/notmine/users/tempuser1/
-search.stevenp.nl -> redirect to images.google.com or so, an complete different site.

Al i can do now *as far as i know* is create an subdomain and just get an folder in my html_public and an alias. But what i want is to customize my subdomains.

Here i got a screenshot of my directadmin main page, it's just the normal user interface.
 

Attachments

  • da.png
    da.png
    266.6 KB · Views: 229
Last edited:
What if you have the main domain www.example.com, and a subdomain foo.example.com, and want different ServerAlias-setting for those two? Is it possible? If not, is there any manual workaround?

I'm faced with this situation currently..
 
If you've got a user account from a hosting company what you can do is very dependent on what your hosting company lets you do; you should ask them.

They haven't even given yuou the right to do your own DNS.

To set up a custom subdomain the way you want to do it you'll need to create the subdomain the DA way, and then write an .htaccess file to put in the subdirectory DA creates. To do that you need to have the right to create subdomains; that's also up to your hosting company.

I'm splitting this thread; it's not part of the How-To; it's not even on the same topic.

Jeff
 
kristian said:
What if you have the main domain www.example.com, and a subdomain foo.example.com, and want different ServerAlias-setting for those two? Is it possible? If not, is there any manual workaround?
A subdomain cannot have it's own alias because it's not a domain. It's just a pointer to a different directory.

To do what you want to do you have to set up the subdomain as if it were a full domain on the server.

Jeff
 
Back
Top