2020-02-15, 08:53 PM
(This post was last modified: 2020-02-16, 02:24 AM by nzoomed. Edited 1 time in total.)
I am in the process of creating this forum.
domain is tmmb.co.nz
Is running on a VPS using ubuntu
the site was working perfectly if i put the ip address in /etc/apache2/sites-available/mybb.conf
under the entries fo servername and serveralias
as soon as i make those entries point to my domain, Im having issues, ive left it this way for you to check.
Im assuming there is another conf file i need to edit somewhere in apache?
I can change it back to my IP address, and you can see what I mean.
contents of mybb.conf is as follows:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/mybb
ServerName tmmb.co.nz
ServerAlias www.tmmb.co.nz
<Directory /var/www/mybb/>
Options FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Edit - is working now, I had to change my DocumentRoot entry to /var/www/html but has created another problem, see my other thread Authorization code mismatch
domain is tmmb.co.nz
Is running on a VPS using ubuntu
the site was working perfectly if i put the ip address in /etc/apache2/sites-available/mybb.conf
under the entries fo servername and serveralias
as soon as i make those entries point to my domain, Im having issues, ive left it this way for you to check.
Im assuming there is another conf file i need to edit somewhere in apache?
I can change it back to my IP address, and you can see what I mean.
contents of mybb.conf is as follows:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/mybb
ServerName tmmb.co.nz
ServerAlias www.tmmb.co.nz
<Directory /var/www/mybb/>
Options FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Edit - is working now, I had to change my DocumentRoot entry to /var/www/html but has created another problem, see my other thread Authorization code mismatch