By moni14
Hello All,
I have more than one domain running properly in my server but i have a problem with this one:
when i open it in a browser shows the following message:
It works! This is the default web page for this server. The web server software is running but no content has been added, yet.
But when i open the full location it works: http://www.caritojota.com/www.caritojota.com/public_html/wordpress/
What i have been done so far is:
a. sudo a2ensite caritojota.conf b. sudo service apache2 restart
I think the problem is in the caritojota.conf file the lines that added are:
<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName caritojota.com #ServerAlias www.caritojota.com
DocumentRoot /var/www/www.caritojota.com/public_html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/www.caritojota.com/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
I don’t know what step is missing .
Thanks in advance for your help
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
Yes you are right i could fix it installing wordpress again directly in the root folder. It was that i did before reading your feedback.
Thank you,
Victor
When you installed wordpress did you set the domain to ‘http://www.caritojota.com/’ As if i go to some of the locations… like one image its trying to recieve is http://www.caritojota.com/www.caritojota.com/public_html/wordpress/wp-content/themes/david-mary/images/logo.png which doesnt exist.
Try reinstalling wordpress under your proper domain.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.