| | |
how to create subdomain ?
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2005
Posts: 514
Reputation:
Solved Threads: 19
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.
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.
•
•
Join Date: May 2005
Posts: 514
Reputation:
Solved Threads: 19
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.
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.
•
•
Join Date: Jul 2005
Posts: 8
Reputation:
Solved Threads: 0
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
is it important to add the subdomain to parent domain dns zone ?
or..????
many thanks
•
•
Join Date: Feb 2006
Posts: 27
Reputation:
Solved Threads: 0
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
>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
•
•
Join Date: Jul 2006
Posts: 1
Reputation:
Solved Threads: 0
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.
![]() |
Similar Threads
Other Threads in the VB.NET Forum
- Previous Thread: vb.net error message query?!
- Next Thread: I need in my code
| Thread Tools | Search this Thread |
.net .net2008 30minutes 2005 2008 access account arithmetic array basic bing button buttons center check code combobox component connectionstring crystalreport data database databasesearch datagrid datagridview date design dissertation dissertations dropdownlist excel fade file-dialog filter folder ftp generatetags google gridview hardcopy images input insert intel internet mobile monitor ms net networking objects output panel passingparameters peertopeervideostreaming picturebox picturebox1 port position print printing problem problemwithinstallation project save searchbox searchvb.net select serial shutdown soap survey table tcp temperature text textbox timer timespan toolbox trim update updown user vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf year





