I am trying to host my WordPress site on GitHub from Linux machine using Apache2 and MySQL.
On GitHub :
created repo > username/username.github.io
On WordPress :
'using simply static plugin' simply static plugin settings > general Destination URLs > username.github.io Dir methon : local dir local dir : /var/www/html/static/ (full permission chmod 777)
simply static pluginsettings > include/excule Additional Files and Directories : /var/www/html/wordpress/wp-content/themes/zerif-lite/ /var/www/html/wordpress/wp-content/uploads/ theme name : zerif-lite
Linux terminal :
git init git add -a
git commit -m "first commit"
git remote add origin https://github.com/username/username.io.git
git push -u origin master : creds
but on GitHub page it display:
404 site not found
There isn't a GitHub Pages site here.