how to create subdomain ?

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2005
Posts: 8
Reputation: mona is an unknown quantity at this point 
Solved Threads: 0
mona mona is offline Offline
Newbie Poster

how to create subdomain ?

 
0
  #1
Jul 12th, 2005
i am developing a control panel project with vb.net i finished how to create a site from scratch but i wanna add a sub site (sub domain)under the domain of my site
how can i do that ? need help whatever the language is.

many thanks in advance
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 514
Reputation: techniner is an unknown quantity at this point 
Solved Threads: 19
techniner techniner is offline Offline
Posting Pro

Re: how to create subdomain ?

 
0
  #2
Jul 12th, 2005
Ummmm.. This is quite a question...

What OS is the server hosting the sites on?

If this is a linux setup then you can do an fopen and insert a ine into the named db file for the subdomain and then you can add your httpd.conf file vhost entry in the same manner:

<VirtualHost serverip>
DocumentRoot /yourdir
BytesLog domlogs/yourlog
User username
Group pass
ServerAlias *yoursite..site.net
ServerName your.site.net
CustomLog domlogs/site.log combined
</VirtualHost>

Since this post is in the VB.NET you are probably looking to do it in this manner..

Just do IO reads and IO writes to adjust your file.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 8
Reputation: mona is an unknown quantity at this point 
Solved Threads: 0
mona mona is offline Offline
Newbie Poster

Re: how to create subdomain ?

 
0
  #3
Jul 12th, 2005
many thanks for your coperation , my OS is windows server 2003
can u help me ?

many thanks again
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 514
Reputation: techniner is an unknown quantity at this point 
Solved Threads: 19
techniner techniner is offline Offline
Posting Pro

Re: how to create subdomain ?

 
0
  #4
Jul 12th, 2005
And what language do you want to do this in?

Does this need to be accesible by anyone?

Is it a Control Panel?

Is it a program just for you to use?

Basically you just want to write a program that opens a file.. appends the info to it.. saves the file.

Restart the services.

that is the order of events.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 8
Reputation: mona is an unknown quantity at this point 
Solved Threads: 0
mona mona is offline Offline
Newbie Poster

Re: how to create subdomain ?

 
0
  #5
Jul 12th, 2005
i wanna user vb.net language , it's a service my site of my company offfers to its clients web hosting services,so the client can make his site as a subsite of our company site.if my company site names www.yyyy.com and the client wants to create site names xxxx so he can access it www.xxx.yyy.com
is it important to add the subdomain to parent domain dns zone ?
or..????
many thanks
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 27
Reputation: amnezia is an unknown quantity at this point 
Solved Threads: 0
amnezia amnezia is offline Offline
Light Poster

Re: how to create subdomain ?

 
0
  #6
Feb 20th, 2006
I need a short subdomain web hosting ( easy and rememeberable reason ), with feature

>Short subdoamin ex. www.xx.com, so we can access with myname.xx.com or mybe www.myname.xx.com
>support, PHP, MySQL ( optional )
>FTP access, CPanel
>Min. 50 Mb space,
>over than 1000Mb bandwidth/Mo,
>Fast, No ads, no banner,

Where i can sign up?

Thank
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1
Reputation: cakewalkr7 is an unknown quantity at this point 
Solved Threads: 0
cakewalkr7 cakewalkr7 is offline Offline
Newbie Poster

Re: how to create subdomain ?

 
0
  #7
Jul 8th, 2006
Has anyone figured out a way to do this yet? I'm in a similar situation where when a user signs up on our site, we need to use their name as the subdomain and have it point to their page. Thanks. BTW, this site is in C#, not VB.net... but I figured if I found the code I could translate it easily enough.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1
Reputation: rmangroliya is an unknown quantity at this point 
Solved Threads: 0
rmangroliya rmangroliya is offline Offline
Newbie Poster

Re: how to create subdomain ?

 
0
  #8
Oct 16th, 2007
Hi,
Please do u have any solution for the create a sub domain in win-2003 server in C#.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC