WordPress.org

Ready to get started?Download WordPress

Forums

Getting Blog to show at blog.domain.com and not domain.com/blog (7 posts)

  1. tookie
    Member
    Posted 6 years ago #

    I created the subdomain of blog.domain.com using cpanel. Doing so caused cpanel to make the directory blog under public_html->blog. So I installed wordpress into that folder thinking it would show up at blog.domain.com. But instead it shows up at domain.com/blog.

    thought it was something with
    define('WP_SITEURL', 'http://www.domain.com/blog');
    or
    define('WP_HOME', 'http://www.blog.domain.com');

    But that just redirected me to domain.com.

    Some help would be greatly appreciated. Thank.

  2. Khairil Zhafri
    Member
    Posted 6 years ago #

    Why don't you make both blog.domain.com?

  3. tookie
    Member
    Posted 6 years ago #

    Tried that and that doesn't even take me to my own domain. Instead it takes me to my ISPs websearch page saying http://www.blog.domain.com(domain is literally the word domain) can't be found.

    Thank for the idea though.

  4. Khairil Zhafri
    Member
    Posted 6 years ago #

    Waitaminnit, what is your domain, really?

  5. tookie
    Member
    Posted 6 years ago #

    i checked the site again and it works now. i guess it just said that because it wasn't updated or something. but now it works.

    thanks a lot, poppacket!

  6. tookie
    Member
    Posted 6 years ago #

    One more quick question...

    if i put blog.domain.com in the url the site doesn't show but if i put http://www.blog.domain.com it does.

    is there to make it so that both direct to the blog?

  7. Khairil Zhafri
    Member
    Posted 6 years ago #

    Maybe you wanna try to clear your DNS cache first.

    Sometimes machines get confused like us.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.