LifeTasty Posted October 28, 2011 Posted October 28, 2011 subject: Please help me to add a "ServerAlias *.lifetasty.com" for my addon domain lifetasty.com. style_emoticons/default/blink.gif domain: lifetasty.heliohost.orgrealname: Denis Trofimovserver: johnny.heliohost.orgsubject: addon domain lifetasty.comuser: 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.gifI'm quoting the manual WordPress Create_A_Network. QUOTEAs 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.com3. 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.comSincerely yours, Denis Trofimov, now from Thailand.
jje Posted October 28, 2011 Posted October 28, 2011 Because httpd.conf is a system file you cannot edit or access it. Please try and find an alternative to editing httpd.conf.
LifeTasty Posted October 28, 2011 Author Posted October 28, 2011 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>
jje Posted October 28, 2011 Posted October 28, 2011 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.
jje Posted October 28, 2011 Posted October 28, 2011 This support request is being escalated to our root admin.
LifeTasty Posted October 28, 2011 Author Posted October 28, 2011 This support request is being escalated to our root admin. Big thanks, i will wait for answer.
Guest xaav Posted October 29, 2011 Posted October 29, 2011 cPanel does not support this without a dedicated IP.
Guest xaav Posted October 30, 2011 Posted October 30, 2011 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.
Ashoat Posted November 7, 2011 Posted November 7, 2011 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
Recommended Posts