site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
2710
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


usa2k
Blessed
Premium,MVM
join:2003-01-26
Canton, MI
kudos:3
Reviews:
·VOIPo
·WOW Internet and..

Drupal Subdomain Module

»drupal.org/project/subdomain

This sounded like an interesting module, but it may be incompatible to how HostGator operates? It seemed like a useful feature to bring to a new site I've been working on at »Artist-247.com

The ability to have a »usa2k.Artist-247.com subdomain with my content, versus everybody's content as an option, would be a great addition.

The module has a number of prerequisites and without really doing anything but turning the module on, this is what it reports. The BIGGEST issue looks like some extra DNS control.
Subdomain Prerequisites

To enable subdomains on your website, you must first configure the following 5 items. If something isn't working, refer to the suggested solutions and make sure you have completed each step outlined in readme.txt.

DNS server - show/hide details Not working yet
test-1.template-247.com failed to resolve
test-2.template-247.com failed to resolve
test-3.template-247.com failed to resolve

It appears your DNS server is not setup to handle wildcard subdomains (*.template-247.com) for template-247.com. Edit the DNS zone file or settings for your server to fix.

PHP caches DNS lookups, so you'll want to restart your web server after making changes to your DNS server to see the results of your changes on this page.

Web server unable to test
Unable to test Apache settings until DNS wildcard subdomains are working
Drupal's inbound URL rewriting - show/hide details Not working yet

HTTP request to »subdomain-test.template-247.com/···ain/test resulted in an internal Drupal path of . It should have been ~subdomain-test/subdomain/test

The custom_url_rewrite_inbound() function is missing from settings.php. It appears you haven't yet patched settings.php. See readme.txt for instructions.

Drupal's outbound URL rewriting - show/hide details Not working yet
Drupal API: url('~subdomain-test/subdomain/test') returned '/%7Esubdomain-test/subdomain/test' but should have returned '»subdomain-test.template-247.com/···ain/test'

The custom_url_rewrite_outbound() function is missing from settings.php. It appears you haven't yet patched settings.php. See readme.txt for instructions.

$cookie_domain in settings.php - show/hide details Not yet set
The $cookie_domain variable in settings.php is not set. Uncomment and set the $cookie_domain variable to your base domain (e.g. "example.com")
I fear some of the missing requirements are things not allowed on a shared hosting account (Especially on a HostGator Add-on Domain.)

Are there Hosting sites that allow this kind of ability? Or is this more suited to a dedicated server (way beyond my means) or hosting one's own server on say a Comcast Business Internet account where you can have dedicated IPs and such?

More than likely I will just abandon this feature and focus on other abilities. Still, if there were an inexpensive hosting solution, it would have been foolish of me to not ask.
--

Jim, VoIP since 12/2002, VOIPo 2/7/2007
FAH-Tool ... Whales ... USA2K site ... VOIPo Review


usa2k
Blessed
Premium,MVM
join:2003-01-26
Canton, MI
kudos:3
Reviews:
·VOIPo
·WOW Internet and..

Re: Drupal Subdomain Module

Looking at this further, it looks like my question may be as simple as "Does HostGator" or other shared hosting services allow"

said by From Readme.txt :

===========================================================
CONFIGURING APACHE
===========================================================
STEP 1: Edit httpd.conf, enable mod_rewrite and configure
wildcard virtual hosts. An example configuration that you
can append to your httpd.conf is below. Replace the domain
name and directory as appropriate, save, and restart apache.

NameVirtualHost *:80
<VirtualHost *:80>
    ServerAdmin webmaster@example.com
    DocumentRoot /var/www/html
    ServerName example.com
    ServerAlias *.example.com
 
    <Directory "/var/www/html">
      AllowOverride All
    </Directory>
</VirtualHost>
 

--

Jim, VoIP since 12/2002, VOIPo 2/7/2007
FAH-Tool ... Whales ... USA2K site ... VOIPo Review


drew
Premium
join:2002-07-10
Port Orchard, WA
kudos:6
Reviews:
·wavebroadband

HostGator support can be handy or not... depends on who you get. I wish you luck.

What kind of plan are you on over there? If you're on a reseller or shared plan, I doubt this'll work. If you're on a VPS or dedicated solution... the sky's the limit there.
--
Come play Mafia! | My Picture Blog



usa2k
Blessed
Premium,MVM
join:2003-01-26
Canton, MI
kudos:3

1 edit

Thanks, I think I will ask the question and see what they say.

EDIT:
I am on the shared Business Plan.
Using my SSL on my USA2K.com URL.



usa2k
Blessed
Premium,MVM
join:2003-01-26
Canton, MI
kudos:3
Reviews:
·VOIPo
·WOW Internet and..

1 edit

said by HostGator Email :

Hello,

Yes, I have set up wildcard sub-domains on your artist-247.com domain
Very cool!

Now to get time to work on my end.



Saturday, 11-Feb 21:28:33 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online! © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics