1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice
  2. The hosting section is sponsored by Hostwinds visit the BHW Partnership program for your exclusive BHW member hosting benefit today.
    MUST be signed into your BHW account.
    Dismiss Notice

subdomain site in wordpress main website in PHP?

Discussion in 'Web Hosting' started by [email protected], Dec 9, 2018.

  1. KJREDDY247@

    [email protected] Regular Member

    Joined:
    Aug 31, 2018
    Messages:
    385
    Likes Received:
    165
    Gender:
    Male
    Please do move it to the right section if this is not the right place.

    I am very new to all these codings, I am a bit confused with below thing

    I have a website ( PHP ) ( eg: XYZ.COM ) and if I want to add a subdomain ( ABC.XYZ.COM ) to my DOMAIN and add a WordPress theme to that subdomain, can I use it in that way or the subdomain should also be developed in PHP?

    XYZ.COM - PHP WEBSITE
    ABC.XYZ.COM - WORDPRESS can i use it in this way?
     
  2. SpoonFeeder

    SpoonFeeder Jr. VIP Jr. VIP

    Joined:
    Mar 19, 2017
    Messages:
    1,606
    Likes Received:
    1,976
    Gender:
    Male
    Occupation:
    SpoonFeeding & Babysitting the Noobs.
    Location:
    Click the link below if you're new to BHW!
    Home Page:
    Of course! You can install Wordpress on Sub-domain and it wouldn't affect your root domain(PHP site).
     
  3. BlogPro

    BlogPro Jr. VIP Jr. VIP

    Joined:
    Apr 23, 2012
    Messages:
    1,266
    Likes Received:
    1,786
    Home Page:
    WordPress is built with PHP. So it shouldn't make a difference to your main site either ways.

    However, a subdomain will function as a entity seperate from your main site. So keep in mind that any link juice or main benefit to the main site won't carry over to it.
     
  4. KJREDDY247@

    [email protected] Regular Member

    Joined:
    Aug 31, 2018
    Messages:
    385
    Likes Received:
    165
    Gender:
    Male
    " WordPress is built with PHP " i dont even know this till now :D
     
  5. AMPServices

    AMPServices Jr. VIP Jr. VIP

    Joined:
    Aug 26, 2018
    Messages:
    116
    Likes Received:
    14
    Gender:
    Male
    If I am not mistaken you can easily achieve this by setting up the virtualhost on the same server and pointing both the dns record to it. But this depends on how you want to set them up. I think it can be easily done without much effort.
     
  6. Triton91

    Triton91 Junior Member

    Joined:
    Mar 16, 2018
    Messages:
    126
    Likes Received:
    41
    Gender:
    Male
    You never looked at the editor in wordpress? All .php files...

    Edit:mad:OP: No problem using wordpress on subdomain.