New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

How to setup Website on the IP address

Started by Administrator, December 27, 2014, 01:06:07 PM

Previous topic - Next topic

Administrator

You can also setup website on the IP address but this is not recommended since here are important server applications like (webmail, FTP, phpMyAdmin...)

Instructions
- Upload files to folder: /usr/local/apache/htdocs/
- Change permissions on all files to user nobody using the following command
chown -R nobody.nobody /usr/local/apache/htdocs/

If you need to use a database, you can create it using CWP.admin --> MySQL Manager or phpMyAdmin.




rekast

Any other insights as to what can be the cause of this?
I have already attempted the suggested recommendation.

Administrator

Quote from: rekast on January 31, 2015, 08:44:49 AM
Any other insights as to what can be the cause of this?
I have already attempted the suggested recommendation.

what is the issue ?

rekast

Sorry plesae disregard. I already got my vhosts to map properly. It was an issue between the public and private IP address I have with AWS EC2 instance. Both mapping the vhost to a wildcard IP or assigning the hostname IP for the vhost to the ""Private" rather than the public IP mapped the domain properly to the redirected user folder.

howard83

how can i just redirect my main IP to my existing vhost.

documentroot = /usr/local/apache/htdocs/

i have changed it to "/home/USERNAME/public_html"

but still it wont redirect to my vhost.


Administrator

you would need to edit the apache configuration files but with suPHP & suExec this isn't the easy task so its recommended to check on that with your sysadmin.

howard83

Quote from: Administrator on March 10, 2015, 01:00:10 PM
you would need to edit the apache configuration files but with suPHP & suExec this isn't the easy task so its recommended to check on that with your sysadmin.

Is there anyway other solution for this?
i dont have a sysadmin :) im doing it my self.
Thanks

Administrator

since you need custom settings you will need to test them by yourself or get someones support

pixelpadre

So last night my addon domain /www/myusername/public_html/myaddondomain.com was resolving fine.

Then I uploaded my main domain files directly into the public_html directory.  And of course, I updated my nameservers with registrar last night for my main domain to point to digitalocean.  And I added another dns record for my main domain at the digitocean control panel.  Now none of my domains are resolving on that droplet.

Any ideas what I did wrong?

Administrator

you can use leafdns.com for live dns testing or check it with your server admin.

pixelpadre

That produced some scary results.  A very useful website that I have never heard of.

styrcn

all i want is actually install the wordpress on my server before point my domain to the server i need to configure some setting. i mean im gonna use with my servers ip on browser then after finish my work i will launch my site. please help me

Igor S.

Quote from: styrcn on January 05, 2018, 09:51:44 PM
all i want is actually install the wordpress on my server before point my domain to the server i need to configure some setting. i mean im gonna use with my servers ip on browser then after finish my work i will launch my site. please help me

Hi. Try to google about "how to use hosts file". It will show you few options.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Vik

Hi,

I followed the same but .htaccess file not working, any solution for that ?

overseer

What aspect of your .htaccess is not working? Something specific to WordPress?