Jump to content

[Solved] [Solved] Please Help E To Add A "serveralias *.lifetasy.com" For My Addon Domain


Recommended Posts

Posted

subject: Please help me to add a "ServerAlias *.lifetasty.com" for my addon domain lifetasty.com. style_emoticons/default/blink.gif

 

domain: lifetasty.heliohost.org

realname: Denis Trofimov

server: johnny.heliohost.org

subject: addon domain lifetasty.com

user: lifetast

 

Hi! Thank you much in advance and for nice functioning of hosting services! style_emoticons/default/smile.gif Now my addon domain lifetasty.com is working properly, wordpress installation also.

I want to use the ability to create a network of sites (Multisite), to create WordPress MU Subdomains . It would be nice to simplify the webmastering for me, and it also save Disk Space Usage and MySQL database usage.

Please help me to add a "ServerAlias *.lifetasty.com" for my addon domain lifetasty.com. style_emoticons/default/blink.gif

I'm quoting the manual WordPress Create_A_Network.

 

QUOTE

As of WordPress 3.0, you have the ability to create a network of sites (Multisite). This article is instructions for creating a network.

Sub-domain sites work with the use of wildcard subdomains. This is a two-step process:

 

1. Apache must be configured to accept wildcards.

1. Open up the httpd.conf file or the include file containing the VHOST entry for your web account.

2. Add this line:

 

ServerAlias *.example.com

3. In the DNS records on your server, add a wildcard subdomain that points to the main installation. It should look like:

 

A *.example.com

 

CPanel

 

Make a sub-domain named "*" (wildcard) at your CPanel (*.example.com). Make sure to point this at the same folder location where your wp-config.php file is located.

 

 

I have done 3-rd step myself, inside my cPanel. I've Made a sub-domain named "*" (wildcard) at CPanel pointed to public_html/lifetasty.com

Sincerely yours, Denis Trofimov, now from Thailand.

Posted

Because httpd.conf is a system file you cannot edit or access it. Please try and find an alternative to editing httpd.conf.

Posted
Because httpd.conf is a system file you cannot edit or access it. Please try and find an alternative to editing httpd.conf.

Thank you for quick answer, jje!

Yes i understand security reasons. I did this on my home Apache sandbox, it's working.

Okey, what is the possible way ?

May be admin can edit the httpd.conf file or the include file containing the VHOST entry for my web account, in a way described above?

I just want the ServerAlias *.lifetasty.com". for lifetasty.com.

 

domain: lifetasty.heliohost.org

realname: Denis Trofimov

server: johnny.heliohost.org

subject: addon domain lifetasty.com

user: lifetast

 

My home config httpd.conf in Denwer webmastering sandbox , Apache 2.2.4.

# Host /home/lifetasty.com/www (5): 
#Listen 127.0.0.1:80
#NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
  DocumentRoot "Z:/home/lifetasty.com/www"  
  ServerName "lifetasty.com"
  ServerAlias "lifetasty.com" "www.lifetasty.com" 
  ServerAlias "*.lifetasty.com" 
</VirtualHost>

Posted

Your welcome Since httpd.conf is constantly being updated and synchronized I'm not going to risk messing it up. This is being escalated to djbob. Splitting. Escalating.

Posted

cPanel does not support this without a dedicated IP.

Posted

After some further research, it appears that this could possibly be done. However, this will need to be enabled on ALL users, not just your account, and therefore might cause problems with sub-domains.

Posted

Nope, sorry. We don't make custom modifications to httpd.conf for users. If you can't do it with .htaccess then you probably want to purchase a VPS ;)

Guest
This topic is now closed to further replies.
×
×
  • Create New...