Can I create a new configuration file inside etc/apache2/sites-available or etc/apache2/sites-enabled after deleting it by accident?

January 22, 2017 252 views
Apache

I was trying to change my old domain to a new domain, but I deleted some of the configurations inside /etc/apache2 by accident.

Now I can't load the main page (on WordPress) but I am still able to load the forum page (Flarum.) Is there any way I can fix this problem without reinstalling Apache?

1 Answer

@myglobalservers

Yes, you can create a new configuration file. After the new file is created, you'd simply restart Apache and if all configuration is correct, it should work without any issues. If you run in to trouble or have any questions when creating the new file, feel free to reply and I'll do my best to help you get things set up.

Have another answer? Share your knowledge.