Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MahmoudNassar

Pages: [1]
How to / wildcard subdomain
« on: February 27, 2020, 01:46:59 AM »

i want create wildcard subdomain, i get this code from google, but after edit /usr/local/apache/conf.d/vhosts.conf
i get error with apache and stop...

# vhost_start *
ServerAlias *
DocumentRoot “/home/yourdoma/public_html”
ErrorLog “/home/yourdoma/public_html/error.log”
ScriptAlias /cgi-bin/ /home/yourdoma/public_html/cgi-bin/
# Custom settings are loaded below this line (if any exist)
# Include “/usr/local/apache/conf/userdata/yourdoma/**.conf
SuexecUserGroup yourdoma yourdoma
suPHP_UserGroup yourdoma yourdoma
<Directory “/home/yourdoma/public_html”>
AllowOverride All
# vhost_end *

Pages: [1]