subdomain site in wordpress main website in PHP?

KJREDDY247@

Elite Member
Joined
Aug 31, 2018
Messages
4,287
Reaction score
2,777
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?
 
Of course! You can install Wordpress on Sub-domain and it wouldn't affect your root domain(PHP site).
 
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?

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.
 
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.
" WordPress is built with PHP " i dont even know this till now :D
 
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.
 
Back
Top