Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-03-2004, 12:17 AM
grayharley's Avatar
grayharley grayharley is offline
Vortech Inc. Customer
Vortech Inc. Customer
 
Location: Massachusetts
Default page for Sub-Domains that do not exist

Im trying to sell sub-domains for a website. (I know... why... I have a good reason...) The problem is when you goto a sub-domain that has not been created in stead of saying ERROR or THIS SITE IS AVAILABLE it says HSPHERE Web Utilities...

Im told this is the default page for subdomains that have not been created. Ya but how do I change the default page to a page I can edit to say TO BUY ME CLICK HERE.

I am using a shared IP Address, is that the problem?
Reply With Quote
  #2  
Old 09-03-2004, 12:23 AM
mfennell's Avatar
mfennell mfennell is offline
Lost in space
Vortech Inc. Customer
 
Location: The armpit of California - Fresno
Send a message via Yahoo to mfennell
ftp into it and replace it.

instead of ftp'ing into mydomain.com ftp into mysubdomain.mydomain.com

its the index.html page
Reply With Quote
  #3  
Old 09-03-2004, 12:24 AM
Bladesnitz
Guest
 
Yes, since its a shared IP, apache is setup to listen for yourdomain.com and www.yourdomain.com, but there is a wildcard DNS record for *.yourdomain.com pointing to that IP as well.

If you changed the a dedicated IP, then any subdomain would go to your main site, otherwise there's nothing you can do unless you add subdomains
Reply With Quote
  #4  
Old 09-03-2004, 12:35 AM
mfennell's Avatar
mfennell mfennell is offline
Lost in space
Vortech Inc. Customer
 
Location: The armpit of California - Fresno
Send a message via Yahoo to mfennell
oh duh. I guess I shouldn't reply to posts unless I have slept sometime recently.

yeah.. what bladesnitz said.

or..

create a subdomain change it to a dedicated IP. Edit the index page to say whatever you want it to then recreate the wildcard dns for your main site to point to that dedicated IP. That will allow you to have your content at your main site at www.mydomain.com and mydomain.com whatever you want and anyone that trys to go to a subdomain that doesn't currently exist will be sent to your "buy this site" message.
Reply With Quote
  #5  
Old 09-03-2004, 01:03 AM
generic's Avatar
generic generic is offline
guess who.. :)
Vortech Inc. Customer
 
Location: chicago
I thought that the default page for sub domains that did not exist was
Windows - NT(your server number here)
Unix - Webshell and mysql login page
__________________
goodbye idevaffiliate, you can kiss my @$* with your poor support and broken script, I am now using post affiliate pro 3
Reply With Quote
  #6  
Old 09-03-2004, 01:06 AM
Bladesnitz
Guest
 
/Unless your on a dedicated IP/
Reply With Quote
  #7  
Old 09-03-2004, 01:11 AM
generic's Avatar
generic generic is offline
guess who.. :)
Vortech Inc. Customer
 
Location: chicago
dont have a unix with a dedicated, but my windows dedicated ones just default to the sites home page.
__________________
goodbye idevaffiliate, you can kiss my @$* with your poor support and broken script, I am now using post affiliate pro 3
Reply With Quote
  #8  
Old 09-03-2004, 02:04 AM
keidsjedo's Avatar
keidsjedo keidsjedo is offline
_____________
Vortech Inc. Customer
 
Like everyone says, dedicated IP will make things so much easier. All you need to do, then, is have your default script page check the subdomain against your database of users (or whatever). Keep in mind that switching your IP might mean some website downtime as DNS propagates. Your mail and other servers should be fine, though.
Reply With Quote
  #9  
Old 09-03-2004, 11:18 AM
jmbeach's Avatar
jmbeach jmbeach is offline
mistra know it all
Vortech Inc. Customer
 
Location: San Diego
If you're willing to go ASP, you can rewrite a bit of some code I used for setting up affiliate pages. It would allow any subdomain (that's not already assigned) to be reassigned to either a directory or to set a querystring ID. In your case you would just change the "response.redirect" to go to a set page with the subdomain they came in on written to a querystring to customize the landing page.

http://forum.vortechhosting.com/show...99&postcount=2

If I have time this weekend I'll try it out for you, otherwise you should easily be able to fix it to fit your needs.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
to make index.php as default page gmsi Chit Chat Public 7 11-28-2005 09:05 AM


All times are GMT -5. The time now is 05:04 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Vortech Inc. ©2005
Page generated in 0.44403 seconds with 17 queries
[Output: 73.63 Kb. compressed to 67.96 Kb. by saving 5.67 Kb. (7.70%)]