sterndata (Steve Stern) on "Rewriting the IP with my Domain"

ساخت وبلاگ

Hello,

i have a Server. On this server there is a User "modseven". His "public_html" can opened with:

http://62.75.242.201/~modseven/

There is WordPress!

I also have a Domain http://www.modseven.net and can either redirect or
make it as a proxy to my wordpress.

But what I want to do is:

That http://62.75.242.201/~modseven/ will be overwritten with http://www.modseven.net

I don't want the poeple see the ip adress.

I just want to have it this way:

http://www.modseven.net and if you open a certain page then like this:

http://www.modseven.net/?p=123

May somebody help me?

Install the plugin "better search and replace"

Search for http://62.75.242.201/~modseven

Replace with http://www.modseven.net

mindcode
Member
Posted 49 minutes ago #

It doesn't work. Now everything is bricked.
I cant access my page anymore...

When I go to http://modseven.net, it redirects to http://62.75.242.201/~modseven/. Did you set up your virtualhost to respect the new domain?

mindcode
Member
Posted 20 minutes ago #

Yes... but still not Working. Iam still in /var/www/

<VirtualHost *:80> ServerAdmin [email protected] ServerName modseven.net ServerAlias www.modseven.net DocumentRoot /home/modseven/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

On my Domainprovider I made a "Proxy redirect".

On my Domainprovider I made a "Proxy redirect"

Huh? Just set the A record for modseven.net and http://www.modseven.net to 62.75.242.201

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 287 تاريخ : سه شنبه 12 مرداد 1395 ساعت: 2:24