hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Direct Admin, mod_rewrite and Wildcard dns
Reply

Hosting Software and Control Panels Software used in the web hosting industry. Topics include control panels, add-on software, setup scripts, etc.
Forum Jump

Direct Admin, mod_rewrite and Wildcard dns

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-05-2006, 12:01 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18

Direct Admin, mod_rewrite and Wildcard dns


Hey, ok so I have my own server with direct admin and I am trying to install mu.wordpress.com

these are the instructions that came with it but I have no idea on what to do, if anyone can tell me step by step or help me out, it would be greatly appreciated.

Quote:
Apache must be configured so that mod_rewrite works. Here are
instructions for Apache 2. Apache 1.3 is very similar.

1. Make sure a line like the following appears in your httpd.conf
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so

2. In the <Directory> directive of your virtual host, look for this
line
"AllowOverride None"
and change it to
"AllowOverride FileInfo Options"

3. In the <VirtualHost> section of the config file for your host there
will be a line defining the hostname. You need to add the following
if you want virtual hosts to work properly:
"ServerAlias *.domain.tld"
Replace domain.tld with whatever your one is, and remove the quotes.


DNS
===
If you want to host blogs of the form http://blog.domain.tld/ where
domain.tld is the domain name of your machine then you must add a
wildcard record to your DNS records.
This usually means adding a "*" hostname record pointing at your
webserver in your DNS configuration tool.
Matt has a more detailed explanation:
http://photomatt.net/2003/10/10/wild...d-sub-domains/
thanks

PS: not sure if this is needed but the domain im trying to install this for is jerkblogs.com

Reply With Quote


Sponsored Links
  #2  
Old 07-05-2006, 12:07 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
Are you just trying to install a wordpress blog? You can download winscp to upload/download from your server to make the changes. It's fairly simple

Reply With Quote
  #3  
Old 07-05-2006, 12:12 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18
um thanks for replying, but im not sure how that can help me with wildcard dns, and mod_rewrite

Reply With Quote
Sponsored Links
  #4  
Old 07-05-2006, 12:20 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
Well you're going to edit those files, so how do you propose to download them and then reupload once the changes have been made without a program like winscp?

Reply With Quote
  #5  
Old 07-05-2006, 12:25 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18
oh ok thanks, but cant I add lines to them from the admin panel in direct admin?

Reply With Quote
  #6  
Old 07-05-2006, 12:27 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
You can edit httpd.conf under Admin Tools section, click on the file editor

Reply With Quote
  #7  
Old 07-05-2006, 12:29 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18
thanks, so how do i set up wildcard dns, and modrerite


Last edited by handeyman; 07-05-2006 at 12:34 AM.
Reply With Quote
  #8  
Old 07-05-2006, 12:37 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
Modrewrite is simple, make sure the line "LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so" is in the file (you can edit like i mentioned through DA)

Then use DA to modify your DNS records (Admin Tools section)

Reply With Quote
  #9  
Old 07-05-2006, 12:43 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18
ok I think I got modrerite done thanks a lot, not I went into DNS Administration, and I am clueless on what to do, for wilcard dns.

Reply With Quote
  #10  
Old 07-05-2006, 12:50 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
have you done steps 2 & 3? for httpd.conf?

In DA, go under the admin tools section, look for dns administration and add a zone

Reply With Quote
  #11  
Old 07-05-2006, 12:58 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18
I beleive I have done steps 2 and 3, there were three different lines saying AllowOverride None so I changed them all to AllowOverride FileInfo Options. If I should change two of them back please let me know.

Then think I did the third step, couldnt find hostname, but added it at the bottom of virtualhost section, so im at dns, but what do I put for add a zone? thanks

it gives me these choices for add a zone


Domain Name
IP Address
Name Server 1
Name Server 2


Last edited by handeyman; 07-05-2006 at 01:08 AM.
Reply With Quote
  #12  
Old 07-05-2006, 01:08 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
in Step 3, what did you add?

"ServerAlias *.domain.tld"

or

"ServerAlias *.yourdomain.com" << where yourdomain.com is the domain you're using?

For the DNS, you are basically doing the same thing you'd be doing in etc/hosts basically add a zone, with subdomain.yourdomain.com and the ip and click add then install the software

Reply With Quote
  #13  
Old 07-05-2006, 01:15 AM
handeyman handeyman is offline
Newbie
 
Join Date: Apr 2006
Location: San Diego, CA
Posts: 18
yeah I put my domain in step 3

so for dns I put subdomain.jerkblogs.com? and my server ip?
what do I put for nameservers?
and then when someone registers in the site, it will automatically create them a subdomain?

Reply With Quote
  #14  
Old 07-05-2006, 01:25 AM
Chachi Chachi is offline
Web Hosting Master
 
Join Date: Jun 2002
Posts: 1,874
i'll contact you on aim and help you install this bad boy

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Equinix Expands AWS Direct Connect Availability to Seattle Data Centers Web Hosting News 2013-05-10 11:32:28
Hosting Direct Suing ISP, says Orcon Cut Off 9,300 Customer Sites Web Hosting News 2012-07-20 10:43:58
SwaggSec Hackers Release 900 Admin Credentials from China Telecom Attack Web Hosting News 2012-06-04 15:24:03
Web Host Hostpoint Launches Site Builder Using CM4All Sites Web Hosting News 2011-12-12 17:14:12
Amazon Offers Direct Connection to Cloud Services at Equinix Data Centers Web Hosting News 2011-08-04 15:07:57


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?