0
|
Hello, Thanks for the question. What you're asking is a bit general, because it will depend on the type of website that you have built, or more importantly, what software you have used. Typically, the URL for a Web Hosting Hub website is based on the URL that you determined when you purchased the account - also called the primary domain. For example: domain-name.com. However, your question is about moving from a sub-domain like http://domain-name.com/subdomain to another. The files and folders that are saved to the web server are what determine the location of the subdomain. The primary domain files are normally located in the public_html folder. So, if you have a subdomain named "subdomain", then there's typically a folder there by that name. Together, these folders form an organized structure that is used to determine the location of your files. When you refer to the location for the files, it's often called a path. So, by our example, the path would look like this: /public_html/subdomain In order to move a website from a subdomain into another, you would typically simply copy the files into a different folder. So, if I wanted to move the files in "subdomain" to "subdomain2", I would use something like the cPanel file manager to move the files into a new folder called "subdomain2". This again depends on the software you're using. And also, you need to consider that ANY link that you have created using the previous URL would need to be changed in the code of your website. If you're using a software like WordPress, then you have several other factors to consider. We have documentation that can help with this kind of move: Moving WordPress. Depending on the software that you used, you may need to look to see what needs to be changed in order to change the subdomain where you have currently setup your website. I hope this helps to explain the issue! Please let us know if you require any further assistance. Regards, Arnel C. |
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |