eeror adding 2 Domain to Apache virtual host

When I go to Technopath.ca it sends me to my server ip address, no masking or anything
I want it to go to a specific folder patpro.ca/public_html/wp/
is there anything im doing wrong? when i disable patpro.ca.conf technopath.ca works but wasn't showing css code whats going on!!
Help me please

Config Files

Patpro.ca.conf

Directory /var/www/html/patpro.ca/public_html
Require all granted
/Directory
VirtualHost *:80
ServerName patpro.ca
ServerAlias www.patpro.ca
ServerAdmin email@gmail.com
DocumentRoot /var/www/html/patpro.ca/public_html

    ErrorLog /var/www/html/patpro.ca/logs/error.log
    CustomLog /var/www/html/patpro.ca/logs/access.log combined

/VirtualHost


WP.conf

Directory /var/www/html/patpro.ca/public_html/wp/
Require all granted
/Directory
VirtualHost *:80
ServerName technopath.ca
ServerAlias www.technopath.ca
ServerAdmin email@gmail.com
DocumentRoot /var/www/html/patpro.ca/public_html/wp/

    ErrorLog /var/www/html/patpro.ca/logs/error.log
    CustomLog /var/www/html/patpro.ca/logs/access.log combined

/VirtualHost

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct