i have a website coded in php running on a domain. I want to install wordpress only on a sub-domain for blogging purpose. Can it be done? if yes, please guide me. I have tried searching for it but found nothing. please help
the general answer is yes. but you must answer this question:
what is your control panel (ex: the DirectAdmin, the CPanel, or etc)?
if you have a control panel so, you must search about this issue on the control panel forum.
if NOT, you must follow these steps (it's a general solution. therefore, for getting a specific answer give me more details. such as, what is your web server? what is your DNS server?)
1- create a directory on the public directory of the server and install Wordpress on it (ex: path-to-the-public-directory/subdomain-directory)
2- create an A record on the DNS server to resolve subdomain.domain.com
3- create an appropriate config for your web server to handle requests of your subdomain
Yes this can be achieved.
Create your sub-domain by logging into your web host account.
Navigate to your sub-domain root folder using an FTP client such as Filezilla
Follow the instructions here: https://wordpress.org/support/article/how-to-install-wordpress/#basic-instructions
Related
I developed this website using Laravel 5.5 for my research group and uploaded it to my university web host. The website's address is in the format of xxxx.cse.yyyy.edu .
When I browse some pages of this website it gets inaccessible and I can't even access the cse.yyyy.edu subdomain anymore for a while (usually after 10-12 hours). I can ping the IP address of the CSE subdomain but can't ping the domain address (possibly a DNS issue?). Although I am not sure, I think restarting my local router makes the website accessible again.
The only thing out of the ordinary about the website is the insecure login page that is not using https at the moment. Other than that, everything is just straightforward laravel code adopted from the original laravel documentations.
I'd be happy to provide more information but I don't really know what kind of info I should be providing here.
What do you think might be causing this problem? Thank you in advance!
So, I figured what was causing the problem. I asked the system administrator to look into the logs of the web host. Turns out that web hosts can have a blocking mechanism in case too many 404 errors are generated. Turning off that mechanism solved my issue. Note that this wasn't something I could fix on my own and might be the same in your case if you don't have full access to your web server settings.
I am first time trying to host laravel 5.5 app using cpanel in a subdomain, but it giving me HTTP ERROR 500. Please somebody help me with step by step guide to host laravel in a subdomain. There is another website hosted on main domain probably developed in Joomla or might be in something else I am not aware of.
to host laravel on subdomain using cPanel, you can use the subdomain feature in cPanel Main Menu.
the steps are :
upload your project folder into public_html
in cPanel main menu, choose Subdomains
on Create a Subdomain, type the name of the subdomain in Subdomain, and refer the Document Root into your project public folder. so the Document Root will be like public_html/your-project-folder/public
click Create button, and that's all
hope it's helps
I have a problem here. I have built a site with Processwire on localhost and then transferred to my customer's server. a) it's a windows server (unfortunately) and b) there is a domain-mapping for this site, the domain points to a folder of another domain. Sorry, I can't explain it any better, I don't really understand the different types of servers (why do they have to be different anyway...).
My problem is, that I see the main website but not the admin page. Do I have to add anything to my .htaccess file?
I also tried to include web.config file. Not .htaccess nor web.config file have an impact when changing its content. I really have no clue what to do!!
Links: mcconnellacademy.ch, mcconnellacademy.ch/admin
Thanks for any pointing in the right direction!
If you install clean Processwire on your server, can you access admin page?
If yes, its better for compatibility to create site profile from your localhost site, and on remote server install new site with this site profile.
https://modules.processwire.com/modules/process-export-profile/
I am always moving sites from localhost to live server this way.
Is it possibly a RewriteBase issue?
https://processwire.com/docs/tutorials/troubleshooting-guide/page3
I spun up a Windows 2012 R2 Datacenter VM.
Endpoints have ports 21,80,443 successfully added to the dashboard.
Installed Wordpress/PHP on the VM using the Web Platform Installer.
Wordpress site works fine using localhost.
Trying to hit the DNS (mysite.cloudapp.net) or the public IP, shows just the generated version of the site below. Clicking links results in an "unable to connect" error.
Anyone know what I might be doing wrong?
By default, when you finish installing wordpress, the address URL is set to
http:/localhost/wordpress
When you browse your site with DNS, the resources file urls are still referring to like http://localhost/......
So, we need to sign in wordpress admin portal in your VM, click “setting”=>”general”, set “WordPress Address (URL)” and “Site Address (URL)” to http://<your_vm_name>.cloudapp.net/wordpress, and save changes.
If you have any further concern, please feel free to let me know.
wordpress is normally url based, make sure it's configured for wildcard or the cloudapp.net domain.
So one thing you can do is see if you can log into /WP-admin and check the home and url links under Settings>General to see if they match site.cloudapp.net. If they do you might also want to check under your wordpress's theme files in functions.php and add the following lines to the top after <?php
update_option('siteurl','http://example.com');
update_option('home','http://example.com');
I have a LAMP application that works. I can deploy this in 15 minutes on a Linux server. I was handed a VPS to deploy it. All I get is WHM. I created an account and that got me a login to cPanel and to the box. cPanel ran some wizard that told me to put my "web source files" in /public_html There is an /cgi-bin inside of that. I cannot get any web assets to be visible from any of those folders. All I get is 404 not found. chmod 777. 404 not found.
My simple question is this: how could I get a simple hello world PHP script to run on a cPanel server? I've been building web pages since before we called them web pages. I do not need to know anything about PHP itself I want to know how to get the cPanel managed server to run PHP scripts. All the documentation I can find on cPanel assumes you've been using it forever. I just need some basic information. Where do I put my PHP code ?????
This is the way cPanel works. If you host your website on shared IP address (main IP address of your server), you cannot access your website using IP address directly. You will always redirect to "http://IP/cgi-sys/defaultwebpage.cgi URL.
To access your website without pointing our domain to your server, you can use temporary URL. By default, it is enabled on the cPanel server. You can access the temporary URL using the following URL:
http://IP/~cpanel_user
Please note that the temporary URL does not work under the following configuration:
If you have enabled mod_userdir tweak and didn't exclude default host
If your server is configured to use mod_ruid2
Hope this information will help you with future use.