icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Choosing Surpass » Signed Up? » Parked Domains

Signed Up? If you're new with a question, ask here!

Reply
 
LinkBack Thread Tools Search this Thread
Old June 25th, 2006, 8:57 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
Parked Domains

I just set up a new shared power account. I had been hoping to be able to use the parked domain feature, however it appears that I am allowed 10 addon domains and no parked domains. I would like to be able to use either domain to access all the content of the site (not just one subdirectory). Is it possible to do this in any way?

Thanks!
erebus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 26th, 2006, 1:57 AM   #2 (permalink)
is scientific.
Resident.
 
David's Avatar
 
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,136 posts
Gave thanks: 8
Thanked 34 times
You'll need to buy the parked domain option if you don't have any available to you.

http://www.surpasshosting.com/addon.php

(amazing...I typed that from memory)
__________________
Quote:
Originally Posted by removed View Post
Internet Explorer rules.
David is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 26th, 2006, 11:45 AM   #3 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,394 posts
Gave thanks: 28
Thanked 94 times
Odd that they don't have parked domains... Most of the business sites I have buy multiple domains and park them all on top of the main one.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 26th, 2006, 11:54 AM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
I find it odd also, I suppose there is no way to trade like 5 of my addon domains for the ability to have 1 parked domain?

I too would think that parked domains would be more useful than 10 addon domains.
erebus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 26th, 2006, 12:07 PM   #5 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,394 posts
Gave thanks: 28
Thanked 94 times
I would just check with support first, to make sure that your account is configured correctly.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 26th, 2006, 5:48 PM   #6 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,847 posts
Gave thanks: 28
Thanked 35 times
I don't know how to use cURL with Cookies yet, but you could put (in the add-on domain directory):
PHP Code:
<?php
$requested_url 
$_SERVER['REQUEST_URI'];
$postedvars count($_POST);
if(
$postedvars!=0){
  
$curlPost '';
  foreach(
$_POST as $key=>$val){
    
$curlPost.= $key.'='.urlencode($val).'&';
  }
  
$curlPost substr($curlPost,0,-1);
}
$ch curl_init();
$curltimeout 5;
curl_setopt($chCURLOPT_URL"http://yourmaindomain.com".$requested_url);
curl_setopt ($chCURLOPT_RETURNTRANSFER1);
curl_setopt ($chCURLOPT_CONNECTTIMEOUT$curltimeout);
if(
$postedvars!=0){
  
curl_setopt($chCURLOPT_POST1);
  
curl_setopt($chCURLOPT_POSTFIELDS$curlPost);
}
$data curl_exec($ch);
curl_close($ch);
echo 
$data;
?>
and put:
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [L]
in the .htaccess in the directory.
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 27th, 2006, 12:57 AM   #7 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
so will this code work for subdomains also?
erebus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On