Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bräuchte hilfe in sachen DNS//apache//struktur [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Sun Nov 18, 2007 11:45 am    Post subject: bräuchte hilfe in sachen DNS//apache//struktur [solved] Reply with quote

hallo,
ich habe mir vor kurzem einen VServer gemietet, inklusive domain,
nun ist mir aber aufgefallen, das der domain-name mist ist, und ich
werde mir nun noch eine 2. domain holen

ich möchte aber nicht die seite ändern (hartcoded links drin) sondern
erstmal beide domains auf die selbe seite zeigen lassen.
später soll dann aber eigentlich ein kompletter umzug auf die neue domain erfolgen,
und die jetzige soll andere aufgaben übernehmen.

Nun zu den Fakten, ich kann kostenlos weitere IPs für den VServer bekommen,
auf dem Server läuft apache,
dns macht Anbieter

Kann mir jemand einen Tip geben, wie ich das nun machen soll?
Mit weiterer IP, ohne?
Wie muss ich apache konfigurieren (zur Zeit am besten garnicht)
Wird die spätere Seitentrennung dann ne qual?

Es soll eigentlich erstmal nur schnell und einfach gehen, weil ich keine Ahnung
von WebServer-Administration habe, und je weniger ich mache, umso weniger mache ich kaputt,
es soll mir aber auch nicht den späteren Umzug verbauen.

Danke im Vorraus

Treb
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router


Last edited by Treborius on Sun Nov 18, 2007 5:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
_eckobar_
Apprentice
Apprentice


Joined: 06 Sep 2006
Posts: 211

PostPosted: Sun Nov 18, 2007 4:40 pm    Post subject: Reply with quote

Wenn Du "Name-based Virtual Hosts" auf dem Apache einrichtest, brauchst Du nicht einmal eine weitere IP. Ist ganz schnell erledigt und funktioniert wunderbar. Weitere Infos unter:
Apache VHosts
_________________
site: http://eckenfellner.net | blog: http://blog.eckenfellner.net | rss: http://rss.eckenfellner.net
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Sun Nov 18, 2007 5:37 pm    Post subject: Reply with quote

http://httpd.apache.org/docs/2.2/vhosts/ip-based.html

das das so einfach ist hätte ich ja nun nicht gedacht,

ich werde wohl die ip-lösung nehmen, und erstmal beide vhosts, einfach auf das selbe DocumentRoot
zeigen lassen, thx
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum