WordPress.org

Ready to get started?Download WordPress

Forums

New Site / Existing Site (8 posts)

  1. Kristian Matthews
    Member
    Posted 3 years ago #

    I created a new site and haven't received any errors. It's a sub-domain site, although I already had an existing site previously, and therefore had a virtual host pointing to this existing site.

    My problem is I can not see the new site created by WordPress, do I need to remove the virtual host to be able to see it?

  2. You have to make sure your subdomains are pointed to where you installed WP (so generally it's point it to the public_html folder, as opposed to public_html/subfolder if that makes sense).

  3. Kristian Matthews
    Member
    Posted 3 years ago #

    Okay, so currently my sites are like this:

    Sites/example/www
    Sites/example/sub1
    Sites/example/sub2
    Sites/example/sub3

    So in the virtual-hosts, each would point to it's own folder, but I should make them all point to Sites/example/www ?

    I just tried this and it did not seem to work.
    It also seems that links to my posts are not shown, perhaps WordPress isn't creating the files?

  4. If WordPress is installed in www AND you have subdomains set to sub1.example.com, then you should just be able to point them to www.

    Are you editing the vhosts directly or...?

  5. Kristian Matthews
    Member
    Posted 3 years ago #

    I edited the virtual hosts directly.

  6. So it's got somethign like this:

    ServerName sub1.example.com
        ServerAlias www.sub1.example.com
        DocumentRoot /Sites/example/www
  7. Kristian Matthews
    Member
    Posted 3 years ago #

    Yes, similar.

    Considering I previously had a few files (not many) on the site, do you think I should delete everything and start from scratch? Especially since even posts from the primary sites are not working.

  8. Also wordpress does not create actual files for the posts, and multsite does not create actual folders for each site.

Topic Closed

This topic has been closed to new replies.

About this Topic